| Reference | Downloads | Github

Installing and running psychopy on Ubuntu 18.04 with conda python 3.6

Hi guys,

Just posting this here, as it is probably a more relevant space for it than on github issues.

I have recently gone through the trouble of installing psychopy on an Ubuntu 18.04 desktop (Intel® Core™ i7-4790S CPU @ 3.20GHz × 8) 64 bit, running python 3.6 with a anaconda install. I just thought I would detail how I managed to make it work so that others may save some time in the future.

1 - install anaconda
bash ~/Downloads/

2 - set system python to 3.6
conda install python=3.6

3 - upgarde pip
pip install --upgrade pip

4 - grab a copy of psychopy from github
cd ~/Documents/GitHub & git clone

5 - install wxpython using conda (running was leading to : ModuleNotFoundError: No module named ‘wx’)
conda install wxpython

6 - install libwebkitgtk using sudo apt-get (running was leading to : ImportError: cannot open shared object file: No such file or directory)
sudo apt-get install libwebkitgtk-1.0-0

7 - installing the newer intel drivers (following intuition from reading and getting the ppa for drivers from the ubuntu launchpad
sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-get updated
sudo apt-get upgrade

8 - explictly set the driver in an xorg conf :
nano /etc/X11/xorg.conf.d/20-intel.conf
once in the editor, add the following code and save

Section "Device"
   Identifier "Intel Graphics"
   Driver "intel"

9 - reboot and enjoy psychopy.