python - 在 Ubuntu 11.10 上安装 wxPython

标签 python ubuntu installation wxpython

希望有人能帮助我安装 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/

相关文章:

python - Orange3中widget输出的连接事件如何处理?

c++ - constexpr 适用于 Ubuntu,但不适用于 MacOS

Java Web Start 驱动安装

python - ITK 4.0 的构建和安装有完整的指南吗?

python - 使用 python/django 关闭套接字并避免 Errno 10054 的正确方法是什么

python - Cython 类型的内存 View : what they really are?

用于生成正则表达式的 Python 库

php - 播放在线视频

Ubuntu在当前文件夹中使用快捷方式打开终端

mongodb - 从 cloudify 安装 MongoDB 时收到 ZipException