更换好用conda源

window是更换conda源

windows在用户目录中的.condarc文件中替换以下源(如果没有这文件则需要自己创建)

channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
  - defaults
ssl_verify: true

linux更换conda源

        在则在主目录创建.condarc,添加上文镜像源

猜你喜欢

转载自blog.csdn.net/weixin_46596757/article/details/123369783