pip 设置代理 windows 设置永久代理 设置豆瓣镜像加速 pycharm设置代理

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://blog.csdn.net/after95/article/details/52584738?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.control&dist_request_id=fd137657-56d2-4cae-a3f5-88eda768d20f&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.control

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值