1. Create a new pip.ini
C:\Users\Administrator\pip\pip.ini
2.pip.ini content
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple
3. Check pip version
pip show pip
4. After checking the version can be updated according to a similar version of the following tips pip
You are using pip version 8.1.1, however version 20.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.