当我尝试使用"pip install -r requirements.txt"将python 3.6.8的一些要求安装到我的文件夹时,我在cmd行底部得到以下消息
ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
importlib-metadata from https://files.pythonhosted.org/packages/71/c2/cb1855f0b2a0ae9ccc9b69f150a7aebd4a8d815bd951e74621c4154c52a8/importlib_metadata-4.8.1-py3-none-any.whl#sha256=b618b6d2d5ffa2f16add5697cf57a46c76a56229b0ed1c438322e4e95645bd15 (from backports.entry-points-selectable==1.1.0->-r requirements-38.txt (line 7))
我已经将我的pip版本更新到21.2.4,有人知道是什么原因导致的吗?如何解决?感谢! !
将pip版本从21更改为20.2.4后运行正常