0
点赞
收藏
分享

微信扫一扫

pip 设置代理

九月的栩 2022-09-28 阅读 116

Windows

例如要安装 mysql-connector-python,注意 proxy 要用双引号括起来

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ mysql-connector-python --proxy="http://serverIP:port"

Linux

例如要安装 mysql-connector-python

$ sudo pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ mysql-connector-python --proxy="http://serverIP:port"

 



举报

相关推荐

pip for 代理

pip走代理(笔记)

Centos:设置代理

linux 设置代理

vue代理设置

RestTemplate设置代理

0 条评论