pip search django produces time out error

后端 未结 3 537
灰色年华
灰色年华 2020-12-10 07:34

coincidentally, I run pip search django command and I got time out error. even specifing a high value of timeout

Below the logs:

D:\\PERFILES\\rmac         


        
3条回答
  •  有刺的猬
    2020-12-10 08:08

    The pypi is probably overloaded. Just enable mirror fallback and caching in pip. Maybe tune the timeout a bit. Add these in ~/.pip/pip.conf:

    [global]
    default-timeout = 60
    download-cache = ~/.pip/cache
    
    [install]
    use-mirrors = true
    

提交回复
热议问题