解决方法: 在pip命令中加入–use-feature=2020-resolver参数就可以了, 比如pip install xxx --use-feature=2020-resolver
pip install xxx --use-feature=2020-resolver
pip install -r requirements.txt --use-feature=2020-resolver