How can I export my Proxyserver in the pip file for python?
set http_proxy=http://someserver.com:someport
does not work :/
any ideas?
How can I export my Proxyserver in the pip file for python?
set http_proxy=http://someserver.com:someport
does not work :/
any ideas?
This answer may help you:
Generally pip
accepts --proxy
argument, but CNTLM Windows proxies will not work.
Answering this old thread now as it still appears near the top of a google search with no real answer.
On windows the proxy parameters for pip do not seem to work properly and it is necessary to set environment variables up before running pip. This also works with other command line applications like wget etc.
The proxy setting usually needs to have the username and password added to the variable to work correctly.
At the Windows command prompt enter:
set http_proxy=http://DOMAINNAME\username:password@proxyserver:port
and/or
set https_proxy=https://DOMAINNAME\username:password@proxyserver:port