Is there a way to invoke python from terminal and have it use the same
psychopy installation as PsychoPyIDE? I tried invoking its
installation of python:
"/Applications/PsychoPyIDE.app/Contents/MacOS/python"
Then I added the "/Applications/PsychoPyIDE.app/Contents/Resources/lib/
python2.5" directory to my sys.path so python could find the local
installed libraries.
However when I then try
from psychopy import *
I get the following error
from psychopy import * Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Applications/PsychoPyIDE.app/Contents/Resources/lib/python2.5/
psychopy/misc.py", line 7, in <module>
import monitors
File "/Users/jwp/Code/psychopy/monitors/__init__.py", line 2, in
<module>
File "/Users/jwp/Code/psychopy/monitors/calibTools.py", line 13, in
<module>
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
site-packages/scipy-0.7.0.dev4645-py2.5-macosx-10.3-i386.egg/scipy/
__init__.py", line 86, in <module>
ImportError: cannot import name Tester
I'm not sure I'm even taking the right approach here, but PsychoPyIDE
must invoke python somehow, which I suppose is the way I'd like to
invoke it.
Alex
Alex Holcombe
www.psych.usyd.edu.au/staff/alexh/
This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.