希望有人能帮助我安装 wxPython。 我有 ubuntu 11.10,但没有构建包。 我使用此页面 ( http://wxpython.org/BUILD.html ) 作为安装指南 安装后,我运行
>python
>>>import wx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "wx/__init__.py", line 45, in <module>
from wx._core import *
File "wx/_core.py", line 4, in <module>
import _core_
ImportError: libwx_gtk2u_adv-2.9.so.3: cannot open shared object file: No such file or directory
应该如何解决? 谢谢!
最佳答案
关注the instructions for installing on Ubuntu or Debian .
编辑:实际上,您甚至不需要这样做,因为它是 in the main repos :
sudo aptitude install python-wxgtk2.8
关于python - 在 Ubuntu 11.10 上安装 wxPython,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10150423/