首先看下Django 3.2目前更新到哪些版本,用下面这条命令:
pip install Django==100.0.5
与3.2有关的版本号有:
3.2a1, 3.2b1, 3.2rc1, 3.2, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.2.6, 3.2.7, 3.2.8, 3.2.9, 3.2.10, 3.2.11, 3.2.12, 3.2.13, 3.2.14, 3.2.15, 3.2.16, 3.2.17, 3.2.18, 3.2.19,
可见,现在到3.2.19版了,那就装3.2.10版吧~
用下面这条命令:
pip install -i https://mirrors.aliyun.com/pypi/simple Django==3.2.10
Successfully installed Django-3.2.10 asgiref-3.7.2 pytz-2023.3 sqlparse-0.4.4 typing-extensions-4.6.3