错误:命令错误,退出状态为1:python setup.py egg_info检查日志以获取完整的命令输出。

时间:2019-12-11 16:41:50

标签: python egg

我正在尝试使用pip install pymote安装“ pymote”,但出现以下错误。请帮助纠正此问题:

Collecting pymote
Using cached https://files.pythonhosted.org/packages/2b/3b/7dea254522b625c1ae5fe24154133f71c7a0b5c0c0c7bdbffbd7b0af9b76/Pymote-0.2.2.zip
ERROR: Command errored out with exit status 1:
command: 'c:\users\manish\appdata\local\programs\python\python37-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\manish\\AppData\\Local\\Temp\\pip-install-1kfxd38n\\pymote\\setup.py'"'"'; __file__='"'"'C:\\Users\\manish\\AppData\\Local\\Temp\\pip-install-1kfxd38n\\pymote\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\manish\AppData\Local\Temp\pip-install-1kfxd38n\pymote\pip-egg-info'

cwd: C:\Users\manish\AppData\Local\Temp\pip-install-1kfxd38n\pymote\
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\manish\AppData\Local\Temp\pip-install-1kfxd38n\pymote\setup.py", line 11
except ImportError, AttributeError:  # @ReservedAssignment
                          ^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

注意:我已经升级了setuptools

0 个答案:

没有答案