Pip default installation package is downloaded from the website https://pypi.org/simple, we can change it to a domestic mirror site, speed up the download process, the following to install the NumPy library as an example:
Pip Install-i https://pypi.tuna.tsinghua.edu.cn/simple NumPy
When downloading other libraries, change the numpy to the desired library name. (use Pip, PIP2, or PIP3 to determine the Python version you are pointing to.) )
Enter Pip Install-help in the terminal to discover the role of the parameter "-I":
Package Index Options: -I,--index-url <url> Base URL of the Python package index (default https:// Pypi.org/simple). This should -a repository compliant with PEP 503 (the Simple repository API) or a local directory laid out In the same format.
PIP installs the Python library using domestic mirrored resources to speed up the download process