psychopy.org | Reference | Downloads | Github

Launching Psychopy GUI after Conda Install

Hi:
I’ve installed PsychoPy via Conda, as I plan to primarily use Spyder for coding my experiments. This is all setup fabulously, but I’d still love to be able to launch the GUI as I had previously. I am running macOS, and I’ve tried launching the program based on information encountered in related posts on this topic, but to no avail. Maybe this represents my bash illiteracy. Any help or pointers would be appreciated.
Thanks,
Ray

@Speleo4Life
From the iPython console within Spyder (or loaded via terminal), you can simply navigate to the directory containing the psychopyApp.py python executable. On my machine, for example, this can be accomplished like so:

cd ~
cd anaconda3/pkgs/psychopy-3.2.4-py36_2/lib/python3.6/site-packages/psychopy/app 
ls # to verify that psychopyApp.py is in fact here

Then:

run psychopyApp.py

So, it really isn’t more complicated than pinning down the location of psychopyApp.py.
If you are using terminal or the Windows command prompt, navigate to your home directory and then:

python ~/psychopyApp.py 

Replace tilde (’~’) with the complete file path. Note, however, that if your default Python version is not 3.6, this will, in all probability, throw an error.