0
我使用python 2.7.10setup.py不在Windows10工作
我已下載的源文件,其中包括setup.py和出現的錯誤
這裏是錯誤:
Traceback (most recent call last):
File "setup.py", line 111, in <module>
'Topic :: Software Development :: Libraries :: Python Modules',
File "D:\Python\lib\distutils\core.py", line 137, in setup
ok = dist.parse_command_line()
File "D:\Python\lib\distutils\distutils\dist.py", line 467, in parse_command_line
args = self._parse_command_opts(parser, args)
File "D:\Python\lib\distutils\distutils\dist.py", line 531, in _parse_command_opts
"command class %s must subclass Command" % cmd_class
distutils.errors.DistutilsClassError: command class distutils.command.install.install must subclass Command
出了什麼問題?
那你嘗試安裝?它是一個自寫的安裝腳本還是已經過測試? – Randrian
@Randrian它是自己寫的...我已經通過重新安裝python 2.7來解決這個問題,感謝您的關注 – 27Blend