如何装wxPython 装了许多都不行
装了源码包的版本,装完用BT还是提示IMPORT ERROR到底该怎么安装 ,是不是还得安装RPM包
装RPM包之前是否需要卸载源码包
谢谢 终于解决
我的版本好没有一致
下了一致的版本就行了
但现在运行 python abc.py 出现如下信息
Traceback (most recent call last):
File "abc.py", line 967, in ?
run([""], abcpath)
File "abc.py", line 959, in run
app = ABCApp(0, params, single_instance_checker, abcpath)
File "abc.py", line 928, in __init__
wxApp.__init__(self, x)
File "/usr/lib/python2.3/site-packages/wx/_core.py", line 5243, in __init__
self._BootstrapApp()
File "/usr/lib/python2.3/site-packages/wx/_core.py", line 4931, in _BootstrapA pp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "abc.py", line 932, in OnInit
self.params, self.abcpath)
File "abc.py", line 697, in __init__
if (sys.platform == 'win32'):
NameError: global name 'sys' is not defined
我要怎样解决
谢谢
页:
[1]