在miniconda中用conda install xxx时,会出现
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/cudatoolkit-10.1.243-h74a9793_0.conda
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.
选择https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/cudatoolkit-10.1.243-h74a9793_0.conda直接在浏览器中搜索下载好以后,把CONDA文件拖入C盘用户文件夹,在miniconda命令行输入
conda install --use-local cudatoolkit-10.1.243-h74a9793_0.conda 即可安装成功