Python 在 20201010 之後的 pip3 install

Galois發表於2020-10-12

在 2020 年 10 月 10 日之後 pip3 install 會發生錯誤:

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.

astroid 2.4.2 requires lazy-object-proxy==1.4.*, but you'll have lazy-object-proxy 1.5.1 which is incompatible.

解決方案:

$ pip3 install xxx --use-feature=2020-resolver
本作品採用《CC 協議》,轉載必須註明作者和本文連結
不要試圖用百米衝刺的方法完成馬拉松比賽。

相關文章