按照http://wiki.wxpython.org/How%20to%20install%20wxPython的安装说明,完成后无非启动wxPython。错误提示为:
>>> 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: No module named _core_
ubuntu 14.01 安装 wxPython 失败
-
- 帖子: 45
- 注册时间: 2012-08-08 15:48
- astolia
- 论坛版主
- 帖子: 6703
- 注册时间: 2008-09-18 13:11
Re: ubuntu 14.01 安装 wxPython 失败
你该看安装说明中debian的那一节。因为ubuntu就是基于debian的
直接sudo apt-get install python-wxgtk2.8
直接sudo apt-get install python-wxgtk2.8
-
- 帖子: 45
- 注册时间: 2012-08-08 15:48
Re: ubuntu 14.01 安装 wxPython 失败
解决不了问题!astolia 写了:你该看安装说明中debian的那一节。因为ubuntu就是基于debian的
直接sudo apt-get install python-wxgtk2.8
Building dependency tree
Reading state information... Done
python-wxgtk2.8 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
-
- 帖子: 45
- 注册时间: 2012-08-08 15:48
Re: ubuntu 14.01 安装 wxPython 失败
清空旧安装文件后解决了!astolia 写了:你该看安装说明中debian的那一节。因为ubuntu就是基于debian的
直接sudo apt-get install python-wxgtk2.8
感谢!
