python - 为什么我收到错误代码失败的错误?
问题描述
我正在尝试使用 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.
解决方案
点子版本 10.0.1
这是非常旧的版本。升级:
pip install --compile --upgrade "pip<21.0" "setuptools<45"
推荐阅读
- c# - 如何使用 SqlKata 从存储过程中查询?
- python - Python - 将字符串列表转换为浮点数 - 方括号和小数点导致问题
- bash - 管道 awk printf - 在(awk)格式修饰符上查找替换
- arrays - 比较两个对象列表 A 和 B 并存储在 dart 中的另一个列表 C 中
- parsing - 将一种 DSL 转换为另一种
- python-3.x - AttributeError:“LevelingSystem”对象没有属性“作者”
- sql - 从 select 语句中的列计算
- performance - 有什么方法可以估计应用程序的吞吐量(每秒处理的位数)?
- reactjs - 大型可编辑表:希望防止在修改表行时重新呈现所有行
- javascript - 如果日期是当前日期,那么它会显示任务