Anaconda conda not be used, has been Solving enviroment last error CondaHTTPError: HTTP 000 CONNECTION FAILED for url

Anaconda when installed in a new computer, create a new environment, conda create -n tensorflow pip python = 3.6

Solving enviroment \ has been going round in circles, unable to complete. Internet search a large circle method, so try:

conda conda update 

Or going round in circles, but there will be a turn the following tips:

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/r/noarch/repodata.json.bz2>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.

ConnectionError(ReadTimeoutError("HTTPSConnectionPool(host='repo.anaconda.com', port=443): Read timed out."))

 

After the Internet search solution is as follows:

Find .condarc file \ Users under \ Amber homepath this path: In C.

Open Notepad, all the https: // into http, be sure to remove the s, and then delete the stuff inside -defaults

Save and exit it.

Try again conda update conda success. 

Then proceed to create a new environment: conda create -n tensorflow pip python = 3.6

Success.

Published 10 original articles · won praise 10 · views 7512

Guess you like

Origin blog.csdn.net/qq_41647438/article/details/104316984