Proxy awareness with pip

If you know your proxy information, you can pass that to your command line:

pip install --proxy=user:pass@server:port numpy

A full string could be something as simple as:

pip install --proxy=http://proxy.example.com numpy

Where proxy.example.com is your (corporate) proxy server. You only need to pass user:pass and port if the proxy also requires that information.

Leave a Comment