The solution to the Read timeout problem encountered in the python3.6 installation of the 2D meeting library matplotlib

Baidu found various methods, but they all reported timeout errors. Finally, I tried the following method and the installation was successful:
1. Enter cmd in Win+R to enter the CMD window, and execute python -m pip install -U pip setuptools to upgrade.
insert image description here
2. Enter python -m pip install matplotlib for automatic installation, and the system will automatically download the installation package.
insert image description here
3. Enter the following code to verify whether the installation is successful.
insert image description here
Run the code to get the following effect, that is, the installation is successful.
insert image description here

Guess you like

Origin blog.csdn.net/Aihu202/article/details/107838153