python-无法在Windows上将Conda与Anaconda 2018.2一起使用

我刚刚在Windows 10上全新安装了Anaconda 2018.2,该anaconda版本使用python v3.7.运行conda更新conda update conda时,出现以下错误;Collecting package metadata: failedCondaHTTPError: HTTP 000 CONNECTION FAILE...

我刚刚在Windows 10上全新安装了Anaconda 2018.2,该anaconda版本使用python v3.7.运行conda更新conda update conda时,出现以下错误;

Collecting package metadata: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/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.

SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/main/win-64/repodata.json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))

解决方法:

使用Anaconda Prompt作为管理员为我工作.我还没有尝试第二种解决方案(OpenSSL)

本文标题为:python-无法在Windows上将Conda与Anaconda 2018.2一起使用

基础教程推荐