今天准备安一个Anaconda来管理我的Python环境,在官网下载支持Python3.7的版本。直接安装即可。
使用Anaconda Navigator可以方便地创建环境和管理各种外部包。
conda --version #查看版本,是否安装成功
conda upgrade --all #更新包,查看是否网络有问题
在使用conda连接网络更新包的版本时,出现网络错误CondaHTTPError: HTTP 000 CONNECTION FAILED for url。
Collecting package metadata: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/free/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.