PIP升级+安装Django命令[WARNING: Retrying (Retry(total=4, connect=None...]
阅读原文时间:2023年08月24日阅读:11

升级:

>pip install -U Django

安装:

>pip install Django

如果发现超时错误内容:(WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError…)

可以尝试加上镜像源地址再次更新:
>pip install -i https://pypi.tuna.tsinghua.edu.cn/simple django