1.添加清华通道

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 config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
2.去pytorch官网下载指定版本的pytorch

conda install pytorch torchvision cudatoolkit=10.1 -c pytorch
这是我的。

3.为conda添加权限

chmod 775 ./.conda

4.执行第二部的命令,但是要去掉 -c pytorch,这个参数指定了下载通道为官网。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2021-10-26
  • 2022-12-23
  • 2021-09-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-21
  • 2021-11-05
  • 2021-08-31
相关资源
相似解决方案