From other sources I have read that "most package managers are selfish", including APT and PIP, and they cant be expected to work well together. Therefore one should try to stick to either PIP or APT.
I know that all packages that I installed manually have been installed with PIP. But I assume that some may have been installed by APT as dependencies. When I install some random application via APT, and this application needs a few Python packages, how are they (typically) installed?
- Are they installed as APT-packages, with no PIP
- Are they installed with PIP, maybe even in a virtualenv?
- Does APT maybe even have some PIP-understanding and then it uses PIP as a tool to install Python packages?
My reason for asking this
I am trying to somehow clean up in my Python packages, because something got broken, and I am trying to get a better understanding of how things work so I don't break it even more. There are several packages that I cant figure out if I installed manually or if they have been installed as dependencies behind the scenes.