I have looked into other discussions but they seem to have no trouble getting data whatsoever so I am really stuck by where my problem comes from. I have copied the pygaze folder to the contents of python2.7. I also have pygaze downloaded and copied open sesame-plugins folders from pygaze to opensesame. I tried everything in this post but when I run python "path/to/file/setup.py" install it says python: can't open file 'path/to/file/setup.pyinstall': No such file or directory. The eye tracker I am using are SMI and Eye-Tribe. My experiment is simply a two-player game and I want to see where they look to during the experiment. Although I have put pygaze logger and data logger at the end of my experiment, there is no eye-tracking data recorded in the log file. It has initialize, start recording, stop recording and three other plugins and the calibration part works in my experiment. Hi thank you for this post! I downloaded a Mac OS version Opensesame and it looks like it comes with a pre-installed pygaze package. We haven't gone over how to install the package for your eye tracker of choice yet, but if you can tell me which brand you will be using, I should be able to point you in the right direction. Additionally, there is a WinPython package for Windows that should work out of the box with PyGaze and all of its dependencies installed. It's a lot easier on Linux, but that OS comes with its own problems. However, I agree that installing a fully functional Python is a huge hassle, and can take quite a bit of time (especially on Macs, which are quite unfriendly to developers that do not tailor specifically to OS X). Then copy the pygaze folder to the site-packages directory of your Python installation.įYI: there is a webpage on the website. Unzip the archive, and (very important), copy the 'resources' folder into the 'pygaze' folder. (Again, take care that your preferred installation of Python is used for this! Should be Anavonda, Python 2.7, 32-bit!)įinally, to install PyGaze, download the latest package from GitHub. Then run the following, using a terminal: python "path/to/file/setup.py" install To install PsychoPy, unzip the folder and copy it to Python's site-packages directory. Installing PyGame and Pyglet is very easy: simply run the installers. Īdditionally, you will have to install PyGame and PsychoPy, and their dependencies. Its website says there should be a Mac version. If you haven't downloaded Python yet, I 'd recommend trying Anaconda, which is a Python distribution that comes pre-packaged with PIL, NumPy, SciPy, Matplotlib and a whole lot of other useful stuff. Please note that most of PyGaze's dependencies only work or work best on the 32-bit version of Python 2.7, so that is most likely the version you would want to install. It's a good idea to check which version of Python your are running, and to check whether this is the one you have installed PyGaze and its dependencies in. However, I do know OS X usually comes with one or more pre-installed (and heavily modified) versions of Python, which are sometimes erroneously picked up by the terminal and code editors. Sorry to hear about the struggle! I'm not a Mac user myself (Linux and Windows only), and I am not familiar with iTerm. Because of it's benefit to others, here is the answer to How do I install PyGaze on OS X? This question was asked via the contact form on the PyGaze website.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |