I always look for settings under the proxy environment, and I didn't have much information about Linux, so I made a note.
There is also a method to set with --proxy or environment variable, but it is troublesome to write --proxy, and if it is an environment variable, it will go through even things that you do not want to go through proxy, so in the method to describe in the conf file did.
conf:$HOME/.pip/pip.conf
[global]
proxy = http://proxy server:port
$ HOME / .config / pip / pip.conf Maybe it's new to write here
Recommended Posts