【问题标题】:Why am I getting an error in failed with error code?为什么我收到错误代码失败的错误?
【发布时间】:2021-12-26 19:34:11
【问题描述】:

我正在尝试使用 pip 安装软件包,但出现此错误。我怎样才能解决这个问题?我已经尝试过重新安装 pip 和其他 python 包并更新它。

Collecting icount
  Using cached https://files.pythonhosted.org/packages/87/1b/785202907a94d2c2968727a48bac503f03e236f5b11bcc31bc2a0c3ab826/iCount-2.0.0.tar.gz
    Complete output from command python setup.py egg_info:
    error in iCount setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Unordered types are not allowed
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-Uq6EGX/icount/
You are using pip version 10.0.1, however version 20.3.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

【问题讨论】:

    标签: python linux installation pip


    【解决方案1】:

    pip 版本 10.0.1

    这是非常旧的版本。升级:

    pip install --compile --upgrade "pip<21.0" "setuptools<45"
    

    【讨论】:

      猜你喜欢
      • 2016-09-05
      • 2021-07-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-10-14
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多