When I try to open PlayOnLinux from the commandline, I get this error:
Looking for python... 2.7.8 - selected
Traceback (most recent call last):
File "mainwindow.py", line 31, in <module>
import wxversion
ImportError: No module named wxversion
Nearly every forum post I have found has suggested I install wxPython, then links here or to some other wxpython wiki page. Unfortunately, the entire wxpython wiki website currently says "wxPyWiki is down for troubleshooting" right now.
I found this StackOverflow question, which is basically the same as mine. I tried all the lower-voted comments, and they all appear to work, but import wx
still fails. When I tried the top-rated comment in that thread, I got to step 7 successfully, but then it says
In file included from scr/helpers.cpp:16:0:
include/wx/wxPython/wxPython_int.h:19:19: fatal error: wx/wx.h: No such file or directory
#include <wx/wx.h>
compilation terminated
If anyone has any suggestions for how I can properly install wxPython on Ubuntu, they would be greatly appreciated.
EDIT: sudo pip install wxPython
tells me it's already installed ("Requirement already satisfied") and suggests I use --upgrade
. It's not installed, import wx
still fails.
EDIT: sudo apt-get install wxpython
gives the error Unable to locate package wxpython
EDIT: I tried sudo apt-get install python-wxglade
and it appeared to work, but playonlinux still gives the same error and import wx
still fails.
EDIT: I tried uninstalling and reinstalling playonlinux and python-wxversion. Both remove/install appeared successful, but I still get the same No module named wxversion
error.
EDIT: I tried the solutions posted here (except for reinstalling the OS). They did not work. I'd rather not reinstall Ubuntu.
sudp pip install wxPython
is how I did it ... I think you can also dosudo apt-get install wxpython
– Joran Beasley Dec 2 '14 at 1:01yum -y install python-pip
gives me the errorThere are no enabled repos.
When I trysudo apt-get install wxpython
it gives me the errorUnable to locate package wxpython
. Any other suggestions? Edit:sudo apt-get install python-pip
worked but nowsudo pip install wxPython
tells meRequirement already satisfied
. – wugology Dec 2 '14 at 1:10