1、临时修改镜像源 在安装库的时候,临时需要用到某个镜像,这里以清华大学镜像为例下载pandas库 pip install pandas -i https://pypi.tuna.tsinghua.edu.cn/simple/ 2、永久修改镜像源 pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple/ 本栏目推荐文章Python学习笔记python字典的使用python字符串方法python列表和元组使用介绍python | 小游戏 开局托儿所 自动化脚本 pyautoguipython中的Map和Filterpython-爬元气桌面壁纸python中的*args**和**kwargsPython教程(23)——Python类中常用的特殊成员linux环境Python安装