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/Anaconda3-5.3.0-Linux-x86_64.sh
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 git@github.com:psychopy/psychopy.git
5 - install wxpython using conda (running psychopyApp.py was leading to : ModuleNotFoundError: No module named ‘wx’)
conda install wxpython
6 - install libwebkitgtk using sudo apt-get (running psychopyApp.py was leading to : ImportError: libwebkitgtk-1.0.so.0: 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 https://github.com/psychopy/psychopy/issues/2061 and getting the ppa for drivers from the ubuntu launchpad https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers)
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"
EndSection
9 - reboot and enjoy psychopy.