Configuring PIP to work from behind a proxy server
I installed python 3.4.3 that comes with pip
. I want to use pip because of the proxy, so I did the following:
Created C:\Users\foo\pip\pip.ini
and added proxy configuration section:
[proxy]
export http_proxy=my_proxy_server:1234
However, when I try to run pip to install packages, I get timeout messages:
C: \ Users \ foo> pip install paramiko Requirement already met (use --upgrade to upgrade): paramiko in c: \ python3 4 \ lib \ site-packages \ paramiko-1.16.0-py3.4.egg Collect pycrypto! = 2.4,> = 2.1 (from paramiko) Retry (Retry (total = 4, connect = None, read = None, redirect = None)) after connection broken 'ConnectTimeoutError (,' Connecting to pypi.python. Org timeout out. (connection time = 15) ')': / simple / pycrypto /
Any ideas what I am doing wrong?
Thanks in Adv.!
source to share