・ Windows7 64bit ・ Python3.x (introduced in Anaconda) ・ There is a proxy
In the above environment, Python packages that cannot be installed by conda install, I tried to install it with pip, but it was blocked by a proxy and melted the time.
This is the first method I tried.
pip install piyopiyo --proxy http://user:[email protected]:8080
If you google with "pip proxy", it will be displayed at the top. However, the above did not solve the problem in the environment where it was implemented.
The following are hits alongside the types attached to the above options.
set HTTP_PROXY=http://user:[email protected]:8080
set HTTPS_PROXY=http://user:[email protected]:8080
Doing
pip install piyopiyo
How to. I haven't tried it, but Linux looks like this?
export HTTP_PROXY=http://user:[email protected]:8080
export HTTPS_PROXY=http://user:[email protected]:8080
pip seems to be using port 443 to get the package (as an error message), Maybe the HTTPS_PROXY setting is the decisive factor ...?
For the time being, even a memorandum.
Recommended Posts