在Windows 10中使用conda创建Tensorflow环境时出现SSL错误

时间:2019-02-13 15:12:41

标签: windows ssl anaconda conda

我正在尝试使用conda创建一个tensorflow环境,但是有以下错误。我正在使用Windows10。我已在寻找解决方案,但无法在Windows上找到解决方案。谁能解决这个问题?将SSL验证设置为false无效。

Solving environment: failed

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

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

我无法在.condarc文件中设置任何代理服务器。我尝试过这样设置:

proxy_servers:
    https: https://hidester.com/proxy/:8080

它显示以下错误:

LoadError: Load Error: in C:\Users\Mahin\.condarc on line 3, column 0. Invalid YAML

0 个答案:

没有答案