2024-05-23 19:46:00 发布
网友
我在终端中运行以下命令:
pip install -r requirements-dev.txt
我得到以下错误:
Invalid requirement: 'nose=1.3.7' = is not a valid operator. Did you mean == ?
requirements-dev.txt如下所示:
nose=1.3.7 pyflakes=0.9.2 pep8=1.5.6
为什么我会犯这个错误?我不太熟悉pip命令。
pip在其规范中没有为=指定任何行为,而是==(您想要的)称为version matching等。
pip
=
==
供以后使用,版本8.1中当前可用的所有版本说明符都是:
version matching ==Compatible release ~=Version exclusion !=Exclusive ordered comparison < , >Inclusive ordered comparison <= , >=Arbitrary equality ===
version matching ==
Compatible release ~=
~=
Version exclusion !=
!=
Exclusive ordered comparison < , >
<
>
Inclusive ordered comparison <= , >=
<=
>=
Arbitrary equality ===
===
pip
在其规范中没有为=
指定任何行为,而是==
(您想要的)称为version matching等。供以后使用,版本8.1中当前可用的所有版本说明符都是:
相关问题 更多 >
编程相关推荐