pip search django produces time out error

后端 未结 3 555
灰色年华
灰色年华 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:01

    the --timeout option doesn't seem to work properly.

    I can install django properly by using either:

    pip --default-timeout=60 install django
    

    or

    export PIP_DEFAULT_TIMEOUT=60
    pip install django
    

    Note: using pip version 1.2.1 on RHEL 6.3

    Source: DjangoDay2012-Brescia.pdf, page 11

提交回复
热议问题