远志

个人站

欢迎来到我的个人站~


pip install planemo出现 ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

如在参考的作者所述,其实出现ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.,并不是都是搜索这个找到相关的解决办法。

最主要的还是自己从这个错误日志里找到解决办法。

比如: 我这里,找到第一个ERROR的提示是:ERROR: Could not find a version that satisfies the requirement setuptools_scm (from versions: none)

那就是少了setuptools_scm这个工具包,那使用代码

pip install setuptools_scm

就可以解决问题了。不然的话,再加上这个命令看看怎样:pip install -r requirements.txt

ERROR 日志

    ERROR: Command errored out with exit status 1:
     command: /home/xiaowei/Galaxy/galaxy_for_Production/.venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-UuEj3E/bagit/setup.py'"'"'; __file__='"'"'/tmp/pip-install-UuEj3E/bagit/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-pip-egg-info-CoKwG7
         cwd: /tmp/pip-install-UuEj3E/bagit/
    Complete output (25 lines):
    DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
    WARNING: The repository located at mirrors.aliyun.com 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 mirrors.aliyun.com'.
    ERROR: Could not find a version that satisfies the requirement setuptools_scm (from versions: none)
    ERROR: No matching distribution found for setuptools_scm
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-UuEj3E/bagit/setup.py", line 78, in <module>
        "Programming Language :: Python :: 3.6",
      File "/home/xiaowei/Galaxy/galaxy_for_Production/.venv/lib/python2.7/site-packages/setuptools/__init__.py", line 161, in setup
        _install_setup_requires(attrs)
      File "/home/xiaowei/Galaxy/galaxy_for_Production/.venv/lib/python2.7/site-packages/setuptools/__init__.py", line 156, in _install_setup_requires
        dist.fetch_build_eggs(dist.setup_requires)
      File "/home/xiaowei/Galaxy/galaxy_for_Production/.venv/lib/python2.7/site-packages/setuptools/dist.py", line 721, in fetch_build_eggs
        replace_conflicting=True,
      File "/home/xiaowei/Galaxy/galaxy_for_Production/.venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 782, in resolve
        replace_conflicting=replace_conflicting
      File "/home/xiaowei/Galaxy/galaxy_for_Production/.venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1065, in best_match
        return self.obtain(req, installer)
      File "/home/xiaowei/Galaxy/galaxy_for_Production/.venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1077, in obtain
        return installer(requirement)
      File "/home/xiaowei/Galaxy/galaxy_for_Production/.venv/lib/python2.7/site-packages/setuptools/dist.py", line 777, in fetch_build_egg
        return fetch_build_egg(self, req)
      File "/home/xiaowei/Galaxy/galaxy_for_Production/.venv/lib/python2.7/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
        raise DistutilsError(str(e))
    distutils.errors.DistutilsError: Command '['/home/xiaowei/Galaxy/galaxy_for_Production/.venv/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp1AMJtZ', '--quiet', 'setuptools_scm']' 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.

参考:

https://blog.csdn.net/qq_35374722/article/details/103319220

打赏一个呗

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦