Ubuntu – How to install wxpython ubuntu 16.04

16.04playonlinuxpythonwxpython

I have a problem with playonlinx, and it requires me to install wxpython, but I have it already installed. I've used different methods, but every-time I do import wx, it gives me this error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named wx

So I don't know what to do now, I've also installed and reinstalled playonlinux, and still it doesn't work.

Best Answer

I could install it by typing in a terminal:

sudo apt-get install python-wxgtk3.0

I don't know but I think that the older versions (2.8, 2.6, …) aren't currently in the 16.04 repositories.

Related Question