Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

You are using pip version 8.1.1, however version 21.2.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command

I am trying to get started with python on VS Code but I keep getting this error when I want to install the matplotlib library.

enter image description here

like image 239
Nelly Lopez Avatar asked Sep 12 '25 01:09

Nelly Lopez


2 Answers

Consider using the --user option or check the permissions.

pip install -U --upgrade pip

like image 155
kansensus Avatar answered Sep 13 '25 15:09

kansensus


I tried a lot of different ones but the one below worked for me

pip3 install --upgrade pip --user
like image 41
vine_J Avatar answered Sep 13 '25 14:09

vine_J