无法在Windows上将Conda与Anaconda 2018.2一起使用 [英] Unable to use Conda with Anaconda 2018.2 on Windows
问题描述
我刚刚在Windows 10上全新安装了Anaconda 2018.2,该anaconda版本使用python v3.7.运行conda更新conda update conda
时,出现以下错误;
I just did a fresh installation of Anaconda 2018.2 on Windows 10. This anaconda version uses python v3.7. While running conda for updating conda update conda
, I got the following error;
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."))'))
推荐答案
我将回答我自己的问题.我发现了两种解决方案.
I will answer my own question. I discovered 2 solutions.
第一个解决方案是使用Anaconda Prompt
First solution is to use Anaconda Prompt
第二个解决方案是安装Windows的OpenSSL.二进制文件可以在这里下载;
Second solution is to install OpenSSL for Windows. The binaries can be downloaded here;
https://slproweb.com/products/Win32OpenSSL.html
此二进制文件对我有用. https://slproweb.com/download/Win64OpenSSL-1_1_1_1a.exe 我正在运行64位Windows 10.
This binary worked for me. https://slproweb.com/download/Win64OpenSSL-1_1_1a.exe I am running 64-bit Windows 10.
以上解决方案已经过测试,可以在我的PC上运行.
Above solutions have been tested to work on my PC.
这篇关于无法在Windows上将Conda与Anaconda 2018.2一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!