ImportError: No module named wx

Hello,

I’m trying to run Psychopy from a Linux terminal (Ubuntu 14.04). I installed Psychopy via ‘conda install -c cogsci psychopy=1.82.01’. (I can’t seem to find a newer version).

I can import Psychopy ok, but when I try and import gui via “from psychopy import gui” I get the error:

File “”, line 1, in
File “/home/jon/miniconda2/lib/python2.7/site-packages/psychopy/gui.py”, line 8, in
import wx
ImportError: No module named wx

I’ve installed pythonwx tools via ‘sudo apt-get install python-wxtools’ but this did not make any difference.

Any ideas?

Cheers,
Jon

1 Like

You might need to do conda install wxpython.

3 Likes

That worked, cheers.