小编Ant*_*ROU的帖子

如何使用 pip install 修复“命令出错,退出状态为 1”

我在安装 pytype 时遇到了一些问题,pip install如下所示:

操作系统:CentOS 7

Python:Python 3.6

点数:20.0.2

$ pip3 install pytype
Collecting pytype
  Using cached pytype-2020.2.20.tar.gz (1.1 MB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /home/aeu1/venv/bin/python3 /home/aeu1/venv/lib64/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmp34nr30o0
       cwd: /tmp/pip-install-z9y24cb4/pytype
  Complete output (7 lines):
  running egg_info
  writing pytype.egg-info/PKG-INFO
  writing dependency_links to pytype.egg-info/dependency_links.txt
  writing entry points to pytype.egg-info/entry_points.txt …
Run Code Online (Sandbox Code Playgroud)

python pip centos7 pytype

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

标签 统计

centos7 ×1

pip ×1

python ×1

pytype ×1