美文网首页
解决pip安装出现超时

解决pip安装出现超时

作者: V7hinc | 来源:发表于2020-05-29 17:25 被阅读0次

    直接pip3 install django,出现超时重试

    WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000023B12ED0400>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/django/
    

    在命令后加上国内镜像源瞬间解决

    pip3 install django  -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
    
    image.png

    相关文章

      网友评论

          本文标题:解决pip安装出现超时

          本文链接:https://www.haomeiwen.com/subject/burfzhtx.html