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

情到浓时终转凉″ 提交于 2020-01-16 08:19:46

问题


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> conda create --name mydjang0 django Solving environment: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/pro/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/pro/win-64/repodata.json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))


回答1:


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

I also faced same issue with command prompt.



来源:https://stackoverflow.com/questions/55677985/condahttperror-http-000-connection-failed-for-url-https-repo-anaconda-com-pk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!