How to upgrade pip

how do i upgrade my python-pip
whenever i try to upgrade using "pip install --upgrade pip"
I get the response : "
DEPRECATION: python-apt 2.4.0-ubuntu3-zorin1 has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of python-apt or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at Deprecate legacy versions and version specifiers · Issue #12063 · pypa/pip · GitHub"

did you try using the python 3 version?
sudo apt install python3-pip

sudo apt install python3-pip

[sudo] password for user:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-pip is already the newest version (22.0.2+dfsg-1ubuntu0.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.