报错:
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
我试了试好像没什么用