cuda下载网址
https://developer.nvidia.com/cuda-downloads
cuda下载位置
anaconda配置清华镜像源
配置的三行代码
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
检验是否配置成功
conda info
配置成功
查看自己的最高支持cuda版本和cuda版本
nvidia -smi
nvcc -V
已安装的样子
2020.3.5
创建了pytorch39 python=3.9的环境
conda create -n pytorch39 python=3.9
2023.3.6
推荐使用-c 而不是更改默认地址
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
https://mirrors.bfsu.edu.cn/anaconda/pkgs/main
https://mirrors.aliyun.com/anaconda/pkgs/main
重新下载anaconda4.8.2
创建py37,python=3.7的虚拟环境
使用pip下载成功