- 论坛徽章:
- 0
|
错误代码如下
[root@localhost local]# python
Python 2.5.2 (r252:60911, Apr 6 2014, 19:36:17)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named wx
>>> import sys
>>> print sys.path
['', '/opt/wxPython-src-2.9.1.1/wxPython', '/usr/local/lib/python25.zip', '/usr/local/lib/python2.5', '/usr/local/lib/python2.5/plat-linux2', '/usr/local/lib/python2.5/lib-tk', '/usr/local/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages']
>>> exit()
|
|