The pip's proxy parameter is, according to pip --help
, in the form scheme://[user:[email protected]]proxy.server:port
You should use the following:
pip install --proxy http://user:[email protected]:port TwitterApi
Also, the HTTP_PROXY
env var should be respected.
Note that in earlier versions (couldn't track down the change in the code, sorry, but the doc was updated here), you had to leave the scheme://
part out for it to work, i.e. pip install --proxy user:[email protected]:port
~ Answered on 2013-12-28 19:18:12