conda 代理 :
windows系统:
修改文件: C:\Users\.condarc
channels:
- http://mirrors.ustc.edu.cn/anaconda/pkgs/free/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
show_channel_urls: true
allow_other_channels: true
proxy_servers:
http: http://username:password@xx.xx.xx.xx:port
https: http://username:password@xx.xx.xx.xx:port
ssl_verify: true
linux系统:
~/.condarc
proxy_servers:
https: https://10.30.127.84:1808
http: http://10.30.127.84:1808
pip 代理
pip install -r requirements.txt --proxy=代理服务器IP:端口号