天天看點

ERROR: After October 2020 you may experience errors when installing or updating packages

問題描述: 使用pip安裝子產品時報錯: 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.

解決方法: 在pip指令中加入–use-feature=2020-resolver參數就可以了, 比如

pip install xxx --use-feature=2020-resolver