错误信息:
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.ConnectionError(MaxRetryError("HTTPSConnectionPool(host='mirrors.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /anaconda/pkgs/free/linux-64/repodata.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf1f116310>: Failed to establish a new connection: [Errno 101] Network is unreachable',))",),)
解决方法:
sudo gedit .condarc
.condarc的内容应该是
channels:
- http://mirrors.ustc.edu.cn/anaconda/pkgs/free/
show_channel_urls: true