pip error: --use-feature=2020-re

2021-07-20  本文已影响0人  Antlers777

问题复现


ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

qt5-tools 5.15.2.1.2 requires click~=7.0, but you'll have click 8.0.1 which is incompatible.

原因:


pip安装版本的依赖问题

解决:


pip的提示已经明确表示

在安装命令后添加 --use-feature=2020-resolver

例如:

pip install PyQt6-tools -i https://pypi.douban.com/simple --use-feature=2020-resolver

上一篇 下一篇

猜你喜欢

热点阅读