Problem installing psychopy
I did a pip install of pygaze in Google Colab (my OpenSesame Windows distribution zip folder is still downloading), and I was trying the sample program that the main tutorial page recommends. However, it depends on the package "psychopy," so I tried to do "pip install psychopy." Almost all of that installation works, but it always fails on wxPython, with the error message: "ERROR: Could not build wheels for wxPython, which is required to install pyproject.toml-based projects."
I looked up that error, and a post on Stackoverflow told me that I needed to install a specific version of wxPython, namely like this: "pip install wxPython==4.2.1"
That itself caused an error, and further research told me I needed to install "attrdict3" first, so I did so. This didn't, however, cause wxPython to install correctly, even when the attrdict3 installation was verified to have been successfully completed prior to running the wxPython installation.
I haven't used that much python, but I'm going to use pygaze for a personal project I've embarked on today, as it seems like the best option. This opening difficulty has been discouraging, and I'd like to get past these opaque errors.
Comments
Hi @IsaacP ,
PsychoPy, which is a Python library and application for stimulus presentation used by OpenSesame and PyGaze, can indeed be tricky to install because of dependency issues. The details depend very much on the specifics of your system, and I'm not very familiar with Google Colab, but two ways in which you will any case be able to install all packages is by either downloading OpenSesame or by installing all packages through Anaconda:
Good luck!
— Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!