第一步:在C:\Users\Administrator下创建文件夹命名为pip第二步:在pip文件夹下新建pip.ini文件第三步:在pip.ini文件中填写镜像源地址(阿里云示例)python -m ensurepip python -m pip install —upgrade pip