I read this articles (check What About Python CLI Tools?). Well, this is obivous, separate external Python packages from your System Python's site-packages.When doing a sudo apt-get install package some packages depends on a external Python library, say, lxml, so therefore, it will install lxml into Python's system site-package and use with the package you installed.Is this a good approach from a Unix view? Is there in Debian or any other distribution a way to tell the package manager to install the python package it depends on in your virtualenv and use it from there? Is there ANY way to separate Python's dependencies from your system?If there is no way, and still, installing external Python packages to your virtualenv is the correct way, why do we still use the system site-packages?Ps: site-packages explained.
Linux packages - Separate Python's external libraries from the system
linux;debian;system installation;python;architecture