pip with proxy code example
Example 1: pip proxy settings
pip install --proxy=https://[username:password@]proxyserver:port somepackage
Example 2: pip config proxy
pip install package_name_here --proxy https://user_name:password@proxyname:port
pip install --proxy=https://[username:password@]proxyserver:port somepackage
pip install package_name_here --proxy https://user_name:password@proxyname:port