CondaHTTPError:网址< https://repo.anaconda.com/pkgs/free/win-64/repodata.json.bz2>的HTTP 000连接失败 [英] CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/free/win-64/repodata.json.bz2>

查看:365
本文介绍了CondaHTTPError:网址< https://repo.anaconda.com/pkgs/free/win-64/repodata.json.bz2>的HTTP 000连接失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是第一次设置django的虚拟环境.我已经在我的D盘中下载了python的anaconda库.因此,最初,我会在预先进行系统设置时手动设置python和conda(Scripts)的路径.但是现在当我使用命令

I'm setting up the virtual enviornment of django for the first time. I've downloaded the anaconda library of python in my D drive. So initially I set up the path of python and conda(Scripts) manually in advance system settings. But now when I'm creating the enviornment using command

conda create --name mydjang0 django

命令提示符显示这样的错误-

the command prompt is showing an error like this-

C:\ Users \ AABHA GAUTAM>康达创建--name mydjang0 django 解决环境:失败

C:\Users\AABHA GAUTAM> conda create --name mydjang0 django Solving environment: failed

CondaHTTPError:URL的HTTP 000连接失败 https://repo.anaconda.com/pkgs/pro/win-64/repodata.json.bz2 过去了:-

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/pro/win-64/repodata.json.bz2 Elapsed: -

尝试检索此URL时发生HTTP错误. HTTP错误通常是间歇性的,简单的重试将带您上路.

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.

如果您当前的网络已阻止 https://www.anaconda.com ,请提交 向您的网络工程团队提出支持请求.

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)):URL超过最大重试次数:/pkgs/pro/win-64/repodata.json.bz2(由SSLError(由于SSL模块不可用,无法连接到HTTPS URL.")'))))

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

推荐答案

不是使用命令提示符,而是将Anaconda Prompt用作管理员. 在那里运行相同的命令.

Instead of using command prompt use Anaconda Prompt as administator. run the same command there.

我在命令提示符下也遇到了同样的问题.

I also faced same issue with command prompt.

这篇关于CondaHTTPError:网址< https://repo.anaconda.com/pkgs/free/win-64/repodata.json.bz2>的HTTP 000连接失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆