Jupyter环境配置error

来源:互联网 发布:网络在线电台广播收听 编辑:程序博客网 时间:2024/06/05 01:34

在配置Jupyter环境的时候,当用Anaconda安装Jupyter的时候出现错误

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.continuum.io/pkgs/main/osx-64/repodata.json.bz2><br>Elapsed: -<br><br>An HTTP error occurred when trying to retrieve this URL.<br>HTTP errors are often intermittent, and a simple retry will get you on your way.<br>ConnectionError(MaxRetryError("HTTPSConnectionPool(host='repo.continuum.io', port=443): Max retries exceeded with url: /pkgs/main/osx-64/repodata.json.bz2 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x10d88cba8>: Failed to establish a new connection: [Errno 65] No route to host',))",),)<br>

意思是下载时候链接失败,我自己用的VPN下载的,应该是没有问题的,然后谷歌出来发现运行一行命令解决问题

conda config --set ssl_verify no

然后安装OK

感谢 https://github.com/ContinuumIO/anaconda-issues/issues/2760




原创粉丝点击