anaconda设置sockets代理


在设置好小飞机后, 如果代理协议是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协议同理


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM