ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full
2020-01-14 18:49
1601 查看
我发现自己的Debug能力还是不行,特别是环境上的一些问题,以后一定要把错误的内容通读!!!!!通读!!!!!
我现在是在安装mmcv,像这里的错误,核心内容是一个WARNING和两个ERROR,WARNING的内容一般是不重要的,然后看看ERROR,大概就是pytest-runner的版本找不到,尝试安装一波:
pip install --user pytest-runner
就好了,这错误我找了一天。。。。一直在搜索后面的ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output,以为是setuptools的问题,太菜了太菜了。
pip install --user mmcv --trusted-host yum.tbsite.net Looking in indexes: http://yum.tbsite.net/pypi/simple/ Collecting mmcv Downloading http://yum.tbsite.net/pypi/packages/26/fa/f032c1e0095b4dfac42feae2f4e8ad77dd3ad83257cb5269814c583ac34c/mmcv-0.2.14.tar.gz (48kB) |████████████████████████████████| 51kB 19.6MB/s ERROR: Command errored out with exit status 1: command: /opt/conda/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-td71coct/mmcv/setup.py'"'"'; __file__='"'"'/tmp/pip-install-td71coct/mmcv/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 /tmp/pip-install-td71coct/mmcv/pip-egg-info cwd: /tmp/pip-install-td71coct/mmcv/ Complete output (33 lines): WARNING: The repository located at yum.tbsite.net is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with '--trusted-host yum.tbsite.net'. ERROR: Could not find a version that satisfies the requirement pytest-runner (from versions: none) ERROR: No matching distribution found for pytest-runner Traceback (most recent call last): File "/home/admin/.local/lib/python3.6/site-packages/setuptools/installer.py", line 119, in fetch_build_egg subprocess.check_call(cmd) File "/opt/conda/lib/python3.6/subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/opt/conda/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp8ffnblrb', '--quiet', '--index-url', 'http://yum.tbsite.net/pypi/simple', 'pytest-runner']' returned non-zero exit status 1. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-td71coct/mmcv/setup.py", line 83, in <module> zip_safe=False) File "/home/admin/.local/lib/python3.6/site-packages/setuptools/__init__.py", line 144, in setup _install_setup_requires(attrs) File "/home/admin/.local/lib/python3.6/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires dist.fetch_build_eggs(dist.setup_requires) File "/home/admin/.local/lib/python3.6/site-packages/setuptools/dist.py", line 721, in fetch_build_eggs replace_conflicting=True, File "/home/admin/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 782, in resolve replace_conflicting=replace_conflicting File "/home/admin/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1065, inbest_match return self.obtain(req, installer) File "/home/admin/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1077, inobtain return installer(requirement) File "/home/admin/.local/lib/python3.6/site-packages/setuptools/dist.py", line 777, in fetch_build_egg return fetch_build_egg(self, req) File "/home/admin/.local/lib/python3.6/site-packages/setuptools/installer.py", line 121, in fetch_build_egg raise DistutilsError(str(e)) distutils.errors.DistutilsError: Command '['/opt/conda/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp8ffnblrb', '--quiet', '--index-url', 'http://yum.tbsite.net/pypi/simple', 'pytest-runner']' returned non-zero exit status 1. ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- 用pip下载beatifulSoup报错ERROR: Command errored out with exit status 1: python setup.py egg_info Check th
- 解决python3.7安装turtle报错ERROR: Command errored out with exit status 1:
- python pip install 报错TypeError: unsupported operand type(s) for -=: 'Retry' and 'int' Command "python setup.py egg_info" failed with error code 1 in
- python安装第三方库遇到 ERROR: Command errored out with exit status 1:
- python2.7 安装MYSQL-python 报错:ERROR: Command errored out with exit status 1:
- 解决Python3安装turtle提示错误:Command "python setup.py egg_info" failed with error code 1
- pip安装软件时出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build*的解决方案
- pip安装软件时出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build*的解决方案
- 成功解决ERROR: Command errored out with exit status 1: command: 'f:\program files\python\python36\pyt
- Ubuntu16.04 pip安装出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-7
- error:Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/_r/fcrtlb8
- ubuntu下安装pip install mysqlclient 报错 command "python setup.py egg_info" failed with error.....解决方案
- Command "python setup.py egg_info" failed with error code 1 in ...
- pycharm 和SHELL下安装MATPLOTLIB均失败, 出现Command "python setup.py egg_info" failed with error code 1 的解决方案
- MAC pip安装包出现 Command "python setup.py egg_info" failed with error code 错误
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-GVQWxt/ipython/
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sg4cklnw/psycopg2/
- 解决 Command "python setup.py egg_info" failed with error code 1 问题
- 执行pip install xxx时报错: command "python setup.py egg_info" failed with error code 10
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-o2julgbe/xgboost/