使用 `pip install django` 在 windows 上安装 django 时出错

Error when installing django on windows using `pip install django`

使用 pip 命令安装 django 时出现错误

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.

drf-yasg 1.17.0 requires six>=1.10.0, but you'll have six 1.9.0 which is incompatible.

有人能帮忙吗?
提前致谢

根据 this announcement,pip 将在 2020 年 10 月引入一个新的依赖项解析器,它会更健壮,但可能会破坏一些现有设置。因此,他们建议用户使用此选项至少尝试 运行 他们的 pip 安装脚本一次(在开发模式下):--use-feature=2020-resolver 以在新的解析器成为2020 年 10 月默认使用 pip 版本 20.3。

On behalf of the PyPA, I am pleased to announce that we have just released pip 20.2, a new version of pip. You can install it by running python -m pip install --upgrade pip.

The highlights for this release are:

The beta of the next-generation dependency resolver is available Faster installations from wheel files Improved handling of wheels containing non-ASCII file contents Faster pip list using parallelized network operations Installed packages now contain metadata about whether they were directly requested by the user (PEP 376’s REQUESTED file) The new dependency resolver is off by default because it is not yet ready for everyday use. The new dependency resolver is significantly stricter and more consistent when it receives incompatible instructions, and reduces support for certain kinds of constraints files, so some workarounds and workflows may break. Please test it with the --use-feature=2020-resolver flag. Please see our guide on how to test and migrate, and how to report issues. We are preparing to change the default dependency resolution behaviour and make the new resolver the default in pip 20.3 (in October 2020).