无法创建新环境或在Ananconda中安装库 [英] Cannot create a new environment or install libraries in Ananconda
问题描述
我正在尝试从Anaconda导航器和conda提示符创建一个新环境.我也无法安装python库.我遇到以下错误:
I am trying to create a new environment from Anaconda navigator and from conda prompt. I cannot install python libraries as well. I get below error:
CondaHTTPError:网址
https://repo .anaconda.com/pkgs/r/noarch/repodata.json.bz2
已发生:-
尝试检索此URL时发生HTTP错误.
HTTP错误通常是间歇性操作,然后进行简单的重试即可带您上路.
如果您当前的网络具有 https://www.anaconda.com 已被阻止,请向您的网络工程团队提出支持请求.
SSLError(MaxRetryError('HTTPSConnectionPool(host = \'repo.anaconda.com \', port = 443):超出了URL的最大重试次数:/pkgs/r/noarch/repodata.json.bz2(由SSLError(SSLError("bad handshake:Error([[\'SSL例程\',\'tls_process_server_certificate \' ,\'证书验证失败\')]))))')))
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(SSLError("bad handshake: Error([(\'SSL routines\', \'tls_process_server_certificate\', \'certificate verify failed\')])")))'))
我尝试了网络上的解决方案,但仍然没有帮助
I tried the solutions from the web, still no help
推荐答案
尝试使用终端并使用以下命令.
Try using a terminal and use the following command.
conda create -n testenv python=3.5
如果您有任何疑问,请告诉我!以下视频可能会有所帮助
Let me know if you have any questions! The video below might help
这篇关于无法创建新环境或在Ananconda中安装库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!