Quantcast
Viewing all articles
Browse latest Browse all 6112

Installing pip2 or pip3 removes the other on Ubuntu 22.04.4 LTS

So I am rather new regarding linux and I am installing pip2 and pip3 on my Ubuntu 22.04.4 LTS. I have both python2.7 and 3 installed (triple checked that they work etc). When I install pip2 or 3 it removes the other which is unusual to my understanding. Here are the logs for that:

Start-Date: 2024-04-25  03:05:47Commandline: apt install python-pipRequested-By: capstone (1000)Install: python-pip:amd64 (20.3.4+dfsg-4)Remove: python3-pip:amd64 (22.0.2+dfsg-1ubuntu0.4)End-Date: 2024-04-25  03:05:48

Here is what the installation says:

capstone@capstone-virtual-machine:/$ sudo apt install --reinstall python3-pipReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneThe following packages were automatically installed and are no longer required:  libpython2-stdlib libwpe-1.0-1 libwpebackend-fdo-1.0-1 python-pkg-resources  python-setuptools python2 python2-minimalUse 'sudo apt autoremove' to remove them.The following packages will be REMOVED:python-pipThe following NEW packages will be installed:  python3-pip0 upgraded, 1 newly installed, 1 to remove and 3 not upgraded.Need to get 1 305 kB of archives.After this operation, 2 153 kB of additional disk space will be used.

So what am I doing wrong?


Viewing all articles
Browse latest Browse all 6112

Trending Articles