🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
How to determine which python modules were installed with `pip` and which with `apt`?
October 5, 2018
December 3, 2023
Copy to clipboard: false
/assets/js/search.js will update text..
Not cast in stone but from this Ask Ubuntu Q&A:
As @Radu Rădeanu pointed out in this answer, there would generally be
difference in names of packages as well. Canonical usually names
Python 2 packages as python-
and Python 3 packages as python3- . Whereas for pip we generally just need to use for both Python 2 as well as Python3 packages.
Generally speaking then:
- If the package name starts with
python3-it was installed by
Otherwise the package was installed by