CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/conda-forge/win-64/c

报错:
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/conda-forge/win-64/cudatoolkit-11.1.1-heb2d755_10.tar.bz2

可行办法

那就照它报的错到这个网址上下载本地文件,之后运行:

conda install --offline cudatoolkit-11.1.1-heb2d755_10.tar.bz2

就好了


另解:

网上有说加anaconda到环境中的

This post works perfectly to solve my problem on win7 with anaconda
prompt. It basically says you need to add the following directories
into your user environment path in windows (go to Start and type in:
View Advanced System Settings, then select Environmental Variables:
then select Path and click Edit: finally you can click New and add a
path):

C:\your_directory_to_anaconda3\Anaconda3\Scripts

C:\your_directory_to_anaconda3\Anaconda3\

C:\your_directory_to_anaconda3\Anaconda3\Library\bin – This is the
directory for openssl

我试了试好像没什么用

参考
[1] https://stackoverflow.com/questions/50125472/issues-with-installing-python-libraries-on-windows-condahttperror-http-000-co

[2] https://github.com/conda/conda/issues/6007


版权声明:本文为qq_43678005原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。