install proxy in pip config 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