I recently upgraded Psychopy on my computer (Mac OS X version 10.6.8) to v1.85.2, however when I tried running one of my scripts I received the following error:
Traceback (most recent call last): File "/Users/dscnlab/Desktop/TRW_scan_comp/TRW_comp.py", line 18, in <module> from psychopy import locale_setup, visual, core, data, event, logging, sound, gui, microphone File "/Volumes/PsychoPy 1/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/gui/__init__.py", line 32, in <module> from .qtgui import * File "/Volumes/PsychoPy 1/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/gui/qtgui.py", line 14, in <module> from PyQt5 import QtWidgets ImportError: No module named PyQt5
I tried installing PyQt5 through the terminal with pip install pyqt5, but this didn’t work either. Is there a way I can either install PyQt5 such that Psychopy can import it, or is there a different workaround I should be using?
Thank you for your assistance.