python - Installing wxpython on ubuntu 14.04 -


when try open playonlinux commandline, error:

looking 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 have found has suggested install wxpython, links here or other wxpython wiki page. unfortunately, entire wxpython wiki website says "wxpywiki down troubleshooting" right now.

i found this stackoverflow question, same mine. tried lower-voted comments, , appear work, import wx still fails. when tried top-rated comment in thread, got step 7 successfully, says

in file included 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 has suggestions how can install wxpython on ubuntu, appreciated.

edit: sudo pip install wxpython tells me it's installed ("requirement satisfied") , suggests use --upgrade. it's not installed, import wx still fails.

edit: sudo apt-get install wxpython gives error unable locate package wxpython

edit: tried sudo apt-get install python-wxglade , appeared work, playonlinux still gives same error , import wx still fails.

edit: tried uninstalling , reinstalling playonlinux , python-wxversion. both remove/install appeared successful, still same no module named wxversion error.

edit: tried solutions posted here (except reinstalling os). did not work. i'd rather not reinstall ubuntu.

the answer installing "python-wxgtk2.8" correct. that's if want install 2.8, if want 3.0 in 14.04, can following this post. have done that, , have wx 3.0 installed.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -