3 ms·
That's not always possible. If you install a package from the system repository that depends on a bunch of python packages, the dependency manager will only be
by ohazi 6y ago
That's not always possible. If you install a package from the system repository that depends on a bunch of python packages, the dependency manager will only be satisfied if they're installed via the repository, since it can't see your pip packages.
So you might need the latest python-opencv from pypi for work, and some desktop camera app needs the one from apt to not have broken dependencies.
- Conan_Kudo 6y agoYou can create virtualenvs that can "see" system-installed Python modules, so this strategy does in fact work. System modules can be used as dependencies for non-system applications with this.
- viraptor 6y agoYou're not going to run into this issue though. Apt-installed python packages will see each other and pip-installed venv packages will live in a separate area. They don't conflict.