| Reference | Downloads | Github

Errors installing Psychopy using Python 2.7


I’m installing Psychopy using Python 2.7 on OS X using the conda instructions shown on the installation page. I’m using Python 2.7 because it’s the version fully supported by Eyelink at the moment, which I plan to interface with. I get this error:

Exception: wx>=4.0 clashes with pyglet and making it unsafe as a PsychoPy gui helper. Please install PyQt (4 or 5) or wxPython3 instead.

When I attempted to install pyqt5 on my own using pip, I get this:

Could not find a version that satisfies the requirement pyqt5 (from versions: )
No matching distribution found for pyqt5

I also tried installing wxpython3 using conda install -c newville wxpython-phoenix but then I get another error:

libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6


Solved it… pip install pyqt5 will clash with python 2.7. But conda install pyqt5 works perfectly.