L
L
LxneSamurai2022-03-26 18:54:19
Python
LxneSamurai, 2022-03-26 18:54:19

I can't update pip, what should I do?

When running the code, it gives an error:

WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.


When you try to enter the command -m pip install --upgrade pip and its various variations on the command line, it pops up
C:\Users\GIGABYTE\AppData\Local\Programs\Python\Python310>py -m pip install --upgrade pip
Requirement already satisfied: pip in c:\users\gigabyte\appdata\local\programs\python\python310\lib \site-packages (22.0.4)


That is, as I understand it, pip already has the latest update, but the code does not want to work (even the banal print('hello world'). What should I do?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question