# 在家目录下~, 新建.pip/pip.conf文件 # 内部定义如下内容,即给定一个国内的镜像源地址 [global] index_url=https://pypi.tuna.tsinghua.edu.cn/simple