我使用的是windows10 64bit下的Anaconda2,在安装和更新包的时候出现以下报错信息。
这是使用默认源安装包的报错信息:
C:Usersning0>conda install numpy
Fetching package metadata ...
CondaHTTPError: HTTP None None for url https://repo.continuum.io/pkg...
Elapsed: None
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.
ProxyError(MaxRetryError("HTTPSConnectionPool(host='repo.continuum.io', port=443): Max retries exceeded with url: /pkgs/free/win-64/repodata.json.bz2 (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('
下面是使用清华大学的镜像安装的报错信息:
C:Usersning0>conda install numpy
Fetching package metadata ...
CondaHTTPError: HTTP None None for url https://mirrors.tuna.tsinghua...
Elapsed: None
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.
ProxyError(MaxRetryError("HTTPSConnectionPool(host='mirrors.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /anaconda/pkgs/free/win-64/repodata.json (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('
解决方案:http://www.lqkweb.com/blog.php?id=18&WebShieldDRSessionVerify=m9KIplnF1Uvl4zixDduw
亲测有效!