|
楼主 |
发表于 2004-9-12 15:15:29
|
显示全部楼层
终于解决
我的版本好没有一致
下了一致的版本就行了
但现在运行 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
我要怎样解决
谢谢 |
|