I have python3.7 and I want to install pip. However when I do the following:
sudo apt install python3-pip
It seems to download python version 3.6 and pip for that. Is there a way to not download python3.6 and just download pip for python3.7? It seems rather strange that pip is download a whole other package.
Advertisement
Answer
if you check apt show python3-pip
output you see it depends on python3:any (>= 3.4~)
so it doesn’t strictly say I need python3.6
I assume that you didn’t install python3.7 using apt
so as a result apt doesn’t recognize that you have python3 and it tries to install it for you.