How to update pip in sololearn? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to update pip in sololearn?

Some error via the version when I use

10th May 2021, 9:18 PM
Javohir
Javohir - avatar
4 Answers
+ 1
Try this: __import__("os").system("python -m pip install --upgrade pip") If you don't want to print what's happening then: __import__("os").system("python -m pip install --upgrade pip -qq")
10th May 2021, 9:57 PM
Md. Faheem Hossain
Md. Faheem Hossain - avatar
+ 1
The system says successful updated, but nothing changed
11th May 2021, 11:59 AM
Javohir
Javohir - avatar
+ 1
Javohir you wanted to know about how to update pip, its done. But still you're facing the same problem, right? That means most probably the problem is not with the version of pip. So, either try to figure out the error, or if you wish, you can share the code with us so that we can give a try. Thanks!
11th May 2021, 5:03 PM
Md. Faheem Hossain
Md. Faheem Hossain - avatar
0
Requirement already satisfied: pip in ../Playground//site-packages (21.0.1) Collecting pip Downloading pip-21.1.1-py3-none-any.whl (1.5 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 21.0.1 Uninstalling pip-21.0.1: Successfully uninstalled pip-21.0.1 Successfully installed pip-21.1.1
11th May 2021, 12:10 PM
Javohir
Javohir - avatar