I used to set up environment evariables http_proxy and https_proxy (with user + password) in the past to use Pip (on Windows) behind a corporate proxy. But recently I needed to
Here are the steps how to configure proxy (with auth.) in pip's config file (pip.ini)
edit pip.ini file and add
[global]
proxy = http://user:password@proxy_name:port
Example for proxy with authentification (user + password):
proxy = http://butch:secret@proxyname:1234
proxyname can be an IP adress, too
Example for proxy without auth.:
proxy = http://proxyname:1234