Installation on Debian 12

Hi,

We have psychopy installed on all our laboratory computers which run Debian 11. For this, we had the following dependencies (defined using poetry syntax, but we will soon migrate to pdm) :

python = "~3.9"
numpy = "^1.26.1"
pyqt5 = "5.12.2"
wxpython = {url = "https://extras.wxpython.org/wxPython4/extras/linux/gtk3/debian-11/wxPython-4.2.0-cp39-cp39-linux_x86_64.whl"}
psychtoolbox = "^3.0.19.0"
psychopy = "2022.1.1"

There was an order effect, where we had to install things in a very particular sequence to get psychopy to work. We use .venv -based environments and resolve our dependencies using pdm/poetry. We are now thinking of upgrading to Debian 12, and so far, all our attempts at installing any version of psychopy have proven futile.

Has anyone got psychopy working with Debian 12 ? If so, we would really appreciate some advise/tips.

Thanks

1 Like

It seems that installation of wxPython, and therefore PsychoPy, is not yet possible on Debian 12, at least via the installation methods specified in PsychoPy and wxPython Linux install documentation.

I say this because as of the time of this reply (March 27, 2024), there does not appear to be a wxPython wheel (the thing at the URL your wxpython dependency is pointing to) available for Debian 12:

https://extras.wxpython.org/wxPython4/extras/linux/gtk3/

I will watch this thread, since I’m also interested in running PsychoPy on Debian 12. Hopefully if someone is able to get it running at some stage, they will post a reply.

Did anyone find a way to run psychopy on Debian 12? Seems there is still no wx wheel …

Do these posted on the wxpython forum help?

Found this when searching for the release codename “bookworm” instead of “12”, seems potentially relevant:

I had tried to get wxPython working on Debian 12 Bookworm maybe 2 months ago and failed, had to transition my group over to Ubuntu, which fortunately went smoothly–but I understand not everyone is able to do that.

I ended up installing from conda-forge: https://anaconda.org/conda-forge/wxpython

1 Like