I was using sudo apt-get install python3-pip
to get pip with older versions of Python, but as I understand I have to install a newer version of pip using some different approach because it is not uptodate using apt. I am using an Ubuntu pc and a Raspberry pi for reference, Many posts about this but what is the currently accepted approach as of Jan 2023? Thanks!
EDIT:
Using pip -V
informes that it is using pip 20.3.4 (python 3.9)
I have Python 3.10.9 installed, and the console informs me version 22.3.1 is also installed
Requirement already satisfied: pip in /usr/local/lib/python3.10/site-packages (22.3.1)
Anyone know how to use version 22.3.1 ?
3
Answers
did you tested
get-pip.py
?simply download it from here, and run
Based on my experience with Raspberry Pi, it should be straightforward with
apt install
.Verify the version:
Odoo Forum Reference: https://www.odoo.com/forum/help-1/how-to-install-pip-in-python-3-on-ubuntu-18-04-167715
sudo apt-get install python3-pip
and then useor you can do that.