pip/conda install加速方法
一、前提
socks代理
二、pip
pip install --proxy http://user:password@proxyserver:port or pip install --proxy http://127.0.0.1:7890 # 上条命令中http根据配置的代理调整
三、conda
$ export http_proxy=http://username:password@proxy:port $ export https_proxy=https://username:password@proxy:port # 备注: # 等号左边的http_proxy 和 https_proxy 表示浏览器中的网址前缀是 http 或者 https,等号右边是http还是https取决于代理的配置
if your password contain special character such as !@#$%, make sure to input it as Flash code. For example #->%23, @->%40. You can search it for more symbol.