#### Windows ##### 更改源 ```plaintext 豆瓣:http://pypi.douban.com/simple/ 中科大:https://pypi.mirrors.ustc.edu.cn/simple/ 清华:https://pypi.tuna.tsinghua.edu.cn/simple/ 阿里云:https://mirrors.aliyun.com/pypi/simple/ ``` ###### 永久更改 `pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/` ###### 添加信任域名 `pip config set global.trusted-host mirrors.aliyun.com` ###### 撤销更改 `pip config unset global.index-url` ###### 查看全局设置 `pip config list` ##### 配置&安装库 ###### 更新pip `pip install -- upgrade pip` ###### 安装库 ```bash # 使用代理 --proxy pip install pandas openpyxl playwright ``` Loading... #### Windows ##### 更改源 ```plaintext 豆瓣:http://pypi.douban.com/simple/ 中科大:https://pypi.mirrors.ustc.edu.cn/simple/ 清华:https://pypi.tuna.tsinghua.edu.cn/simple/ 阿里云:https://mirrors.aliyun.com/pypi/simple/ ``` ###### 永久更改 `pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/` ###### 添加信任域名 `pip config set global.trusted-host mirrors.aliyun.com` ###### 撤销更改 `pip config unset global.index-url` ###### 查看全局设置 `pip config list` ##### 配置&安装库 ###### 更新pip `pip install -- upgrade pip` ###### 安装库 ```bash # 使用代理 --proxy pip install pandas openpyxl playwright ``` 最后修改:2024 年 06 月 11 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 如果觉得我的文章对你有用,请随意赞赏