![]() ![]() ![]() As a reminder: laptops and other systems with non-dedicated graphics- and video-cards are generally not suitable for psychophysics but may be still acceptable as a development environment. If this doesn’t work either, try using a different computer. Spyder python for mac drivers#If this doesn’t work, try updating the graphics card drivers by fetching the latest version from the vendor’s website. It should show a distribution around 16.667 ms (if you’re running 60 Hz) with a narrow distribution, say from 16 to 17 ms and no dropped frames. Checking your hardwareĪfter installing PsychoPy, open Coder –> demos –> timing –> timesByFrames.py and run it (press CTRL-R or the green man). Do this by drag-dropping it into the Accessibility list like this. To use iohub to register keyboard events you need to raise the privileges of the PsychoPy app. Spyder python for mac install#Scroll down on this page to see install instructions. Also see comments below, where a user succeeded with Atom – an editor which has the same capabilities as Spyder. You can get it to work using the anaconda python distribution. Now go to “Tools –> Preferences –> Run”, and tick “Execute in a dedicated Python interpreter” to make it easy to re-run the experiment without getting errors due to python being shut down when the psychopy module is unloaded. Spyder python for mac code#You get code completion and in-app documentation which speeds up programming a lot! On Debian-based Linux (Ubuntu / Debian / Linux Mint etc.), just run the following in the terminal sudo apt-get install spyder pylint pyflakes python-rope python-sphinxĬheck that it works by running the following script in spyder: from psychopy import * I recommend using Spyder as code editor rather than Coder. ("\Lib\site-package")įrom psychopy import * Enabling Spyder for PsychoPy on linux ![]() Pros: If you want to use other editors or don’t want psychopy to be in your PYTHONPATH, you can simply load psychopy by adding the following to the top of your scripts: import sys
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |