Holcombe:Psychopy: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
Developers can install a local version of the repository using github. See the instructions at the online psychopy documentation "for developers" section. | Developers can install a local version of the repository using github. See the instructions at the online psychopy documentation "for developers" section. | ||
This requires installation of the python library dependencies. Once that is | This requires installation of the python library dependencies. On OSX, rather than installing all the dependencies one by one, you can download and run the installer for the Enthought Python Distribution. At the time of this writing (Feb 2012), it's available for free to academics. | ||
Once that is done, execute psychopy in the terminal with something like | |||
python /Users/alex/Documents/softwareStatsEquipment/programming_psychophysics/psychopy/psychopy/app/psychopyApp.py | python /Users/alex/Documents/softwareStatsEquipment/programming_psychophysics/psychopy/psychopy/app/psychopyApp.py |
Revision as of 21:57, 22 February 2012
Recent members• Alex Holcombe
|
Projects• Testing Booth Calendar |
|
Technical• Skills Checklist |
Other• Plots,Graphs
|
Psychopy
Most will want to simply download the .dmg of the executable from the psychopy website.
Developers
Developers can install a local version of the repository using github. See the instructions at the online psychopy documentation "for developers" section.
This requires installation of the python library dependencies. On OSX, rather than installing all the dependencies one by one, you can download and run the installer for the Enthought Python Distribution. At the time of this writing (Feb 2012), it's available for free to academics. Once that is done, execute psychopy in the terminal with something like
python /Users/alex/Documents/softwareStatsEquipment/programming_psychophysics/psychopy/psychopy/app/psychopyApp.py
Rather than type that every time, create an alias, maybe called 'pp', by adding a line to your ~/.profile like this:
alias pp='python /Users/alex/Documents/softwareStatsEquipment/programming_psychophysics/psychopy/psychopy/app/psychopyApp.py'
Psychopy will only run if the location of the dependencies is in your PYTHONPATH. To your ~/.profile file, add the path of psychopy itself with a line like:
PYTHONPATH="/Users/alex/Documents/softwareStatsEquipment/programming_psychophysics/psychopy/:$PYTHONPATH
And all the other dependencies with z