小编Jan*_*i D的帖子

pip 安装错误命令“python setup.py egg_info”失败,错误代码为 1

我正在尝试使用以下命令在 Ubuntu 终端上安装monkeytype:

pip install monkeytype 
Run Code Online (Sandbox Code Playgroud)

但我收到一条错误消息:

Command "python setup.py egg_info" failed with error code 1 
Run Code Online (Sandbox Code Playgroud)

这是完整的日志:

bash-4.3$ pip install monkeytype
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting monkeytype
  Using cached https://files.pythonhosted.org/packages/5f/59/43bc6e44d69bd268e545fdfacdd6866362aca57ac894bbc3177b5455c06a/MonkeyType-18.2.0.tar.gz
Collecting retype (from monkeytype)
  Using cached https://files.pythonhosted.org/packages/6e/da/ca9f5560f051d2ed79a52de1170903e3ff8ad011cff56c65abfcff38d372/retype-17.12.0.tar.gz
    ERROR: Complete output from command python setup.py egg_info:
    ERROR: …
Run Code Online (Sandbox Code Playgroud)

pip failed-installation

2
推荐指数
1
解决办法
2万
查看次数

标签 统计

failed-installation ×1

pip ×1