Solve WARNING: You are using pip version 22.0.4; however, version 23.1 is available. (Solve the pip version problem, the pro test is effective)

1. Problem description

When writing a python file, use the read_excel method of the pandas library to read the data, then use the describe method to view the basic situation of the data, and finally use the matplotlib library to display the chart. According to the error message, there is no matplotlib module, trying to quickly repair it on pycharm, and install this matplotlib package. but failed...

 >>>>>>The following error occurred

 

2. Solve the problem

Follow the prompts, win+R enter cmd to open the terminal,

Follow the prompts to enter pip install matplotlib, and press Enter to start installing the package in the terminal

But still report an error --------

WARNING: You are using pip version 22.0.4; however, version 23.1 is available.You should consider upgrading via the 'D:\python\python.3.10.4\python.exe -m pip install --upgrade pip' command.

Warning: You are using version 22.0.4 of pip; however, version 23.1 is already available. You should consider upgrading via 'D:\python\python.3.10.4\python.exe -m pip install --upgrade pip' command.

Follow the system prompts to upgrade pip, enter "D: python python.3.10.4 python.exe -m pip install --upgrade pip" and press Enter


 The upgrade is successful and the problem is solved 

 

 

 

Guess you like

Origin blog.csdn.net/weixin_50576361/article/details/130290668