Today I'd like to share with you python3.7 install matplotlib Relevant knowledge points about how to solve failure , Detailed content , Clear logic , I believe most people still know too much about this knowledge , So share this article for your reference , I hope you will gain something after reading this article , Now let's take a look .
At the beginning pycharm In order to install , failed , Check the log , No, error Tips , Just go to cmd Try pip install matplotlib The result is still a failure
pip install matplotlib
according to error Tips probably know pip Library version is too long , So we need to upgrade pip Version of , stay cmd Get into python Of Scripts Folder enter the following command pair pip Library upgrade
python -m pip install --upgrade pip
Try again after installation pip install matplotlib Still failed
It can be seen here that pycharm Still prompt me to update pip, But we are the highest version at this time .
Inquiry matplotlib3.5.1 It's supporting python3.7.3, The version problem has been eliminated
After checking again, I found that what I downloaded was .whl file , I am a Windows System , There is no problem here
Again in cmd Try pip install matplotlib, Download half failed
Up to now, most of the problems have been basically eliminated , I guess it may be the website itself
So I changed the domestic mirror website to download
cd C:\python3.7.3\Scriptspip install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib# According to your own python Installation path modification
Successfully downloaded , Finally, check whether the installation is successful
python -m pip list
You can see matplotlib Even if it's successful .
That's all “python3.7 install matplotlib How to solve the failure ” All the content of this article , Thank you for reading ! I believe you will gain a lot after reading this article , Xiaobian will update different knowledge for you every day , If you want to learn more , Please pay attention to the Yisu cloud industry information channel .