The error instructions are as follows
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
Refer to the blog post to solve the problem
Use the command
pip --default-timeout=1000 install -U module name,
such as
pip --default-timeout=1000 install -U matplotlib
to download matplotlib, and make its delay detection time longer.
Fang 2:
Go to the pypi website to download the wheel file. For the downloaded version, see the version that is not installed on the command line. After it is placed locally, use cd to navigate to the folder where it is placed, and use "pip install wheel file name"