How to set an HTTP proxy in Python 2.7?

前端 未结 6 444
無奈伤痛
無奈伤痛 2020-11-29 18:38

I am trying to run a script that installs pip: get-pip.py and am getting a connection timeout due to my network being behind an HTTP proxy. Is there some way I could configu

6条回答
  •  情书的邮戳
    2020-11-29 19:13

    You can try downloading the Windows binaries for pip from here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip.

    For using pip to download other modules, see @Ben Burn's answer.

提交回复
热议问题