运行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]