CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.continuum.io/pk gs/r/win-64/repodata.json.bz2>

♀尐吖头ヾ 提交于 2019-12-05 00:50:49

Apparently, the condarc file was updated and rewritten as an empty file while I ran config command. I tried running proxy settings and trusted host through command line, but it doesnt work. But then found that invoking trusted host through command line is discontinued and so I added the same in pip.ini file. After that it worked!

Like I mentioned in the GitHub issue tracker, I added below in pip.ini and it worked

trusted-host = pypi.python.org pypi.org files.pythonhosted.org
Malay Revanth

I faced the same issue in Windows 10 machine and the below solution helps Add the following paths to environment variables:

  1. Anaconda3\Library\bin

  2. Anaconda3

  3. Anaconda3\Scripts

user10465833

I found that invoking trusted host through command line is discontinued and so I added the same in pip.ini file. After that it worked!

Hamza

Use Anaconda's own command prompt instead of windows one and type in the following command. No need to mess with pip.ini file

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