首页 > 技术文章 > anaconda设置sockets代理

geoffreyone 2020-03-19 11:38 原文

在设置好小飞机后, 如果代理协议是sockets5, 网上资料比较少, 具体设置方式如下~/.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/
  - defaults
  
proxy_servers: 
    http: socks5://127.0.0.1:1080

ssl_verify: False
show_channel_urls: True
allow_other_channels: True

http、https协议同理

推荐阅读