It says the error was when installing the package pyWinhook. So, I was wondering if pyWinhook isn’t compatible with Python 3.9, and downgrading my Python version might solve it.
Any other recommendations would be highly appreciated. Thank you!
I followed the instructions in the article you referred to. I was able to install Psychopy and was able to get Psychopy to run using Pycharm as well.
From my experience, I would advise against using pip to install Pyshopy. You might be getting compatibility issues. The best method is to install the standalone PSychopy version from the official website. This standalone version installs a Python interpreter and all other dependencies that are compatible with PsychoPy. This makes everything easier.
All we got to do is to make sure when we are creating a new project for programming for PsychoPy, we have to use the Python .exe file that is present in the PsychoPy installed folder :).
Some day I dream of being able to include the venv folder in the PsychoPy repo so that you can run in PyCharm with a pre-packaged environment, but as you discovered this method can be temperamental. Until then, installing via the standalone .exe is definitely the safest option