QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 722|回复: 0

运行python abc.py 出现错误信息,怎么解决

[复制链接]
发表于 2004-9-12 15:16:56 | 显示全部楼层 |阅读模式
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

我应该怎么做
谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-7 03:30 , Processed in 0.074439 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表