Compile from source to specific python directory

Is it possible to install newest version of PsychoPy to the Python directory installed with macports?

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python

I tried to install using

sudo python setup.py install

but it tries install to default mac python directory.

I’ve never used macports but you could try doing:

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python setup.py install

(I imagine when you call python from the command line you’re getting the system default python not macports)

In the worst case scenario, you can just copy the psychopy folder (from inside the zip file) to the appropriate directory. setup.py install isn’t doing much more than that anyway.

ie. it isn’t ‘compiling’ anything

1 Like