gpt4 book ai didi

python - 在 Ubuntu 11.10 上安装 wxPython

转载 作者:太空宇宙 更新时间:2023-11-04 08:18:21 25 4
gpt4 key购买 nike

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

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com