After having a few issues with installing PsychoPy3 on Linux (Linux Mint 19.1), below, I listed the necessary steps to get it running. Maybe, some of the issues can be resolved with updates or by including them in the online instructions (Thanks Claire, for the final ffmpeg hint).
Step 1: (not documented online)
sudo apt-get install python3-pip sudo pip3 install setuptools
Step 2: As instructed online (but with pip3 – and excluding iolabs). Just using pip might lead to using Python2 instead of Python3.
sudo pip3 install numpy scipy matplotlib pandas pyopengl pyglet pillow moviepy lxml openpyxl xlrd configobj pyyaml gevent greenlet msgpack-python psutil tables requests[security] pyosf cffi pysoundcard pysoundfile seaborn psychopy_ext python-bidi psychopy sudo pip3 install pyserial pyparallel egi # including 'iolabs' results in an error (Jan 2019) sudo pip3 install pytest coverage sphinx
Additional (not documented) step 3
# installing wxpython with pip (sudo pip3 install wxpython) # would get a newer version but resulted in errors sudo apt-get install python3-wxgtk4.0 # 'Webview' part of wxpython missing: sudo apt-get install python3-wxgtk-webview4.0 # Missing 'ffmpeg' results in crash shortly after startup, thus: sudo apt-get install ffmpeg
Now it should start with:
A new Debian version will be released in a few months (April 2019). I’ll test this on the new Debian again. If it is working there, then it should also work on all its descendants (Ubuntu, Mint, etc.).