pycharm terminal pip 设置代理
set http_proxy=http://127.0.0.1:1080 set https_proxy=http://127.0.0.1:1080
set http_proxy=http://127.0.0.1:1085 set https_proxy=http://127.0.0.1:1085
永久代理设置

[global] index-url = https://pypi.douban.com/simple/ #如果需要设置代理,不需要就将这一行删掉 proxy = http://username:password@ip:端口 #不检查pip版本 disable-pip-version-check = true
单次代理
set http_proxy=http://username:password@ip:port set https_proxy=http://H711:r5@10.67.9.200:3128 pip install
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/211337.html原文链接:https://javaforall.net
