I'm an amateur when it comes to both conda and venvs in general (as well as s/o), so I was hoping someone could give me an explanation of how to deal with these 3 paths.
Conda/Global Example
I'm within a conda environment and trying to install tensorrt and its python bindings. It's available as a debian package, so I 'apt-get' it. I assume this will install it globally, and my conda venv will be able to 'see' it, but this is not the case. It's only available once a deactivate my environment. How do I enable this package to be used from my conda env?
Conda/Sudo Example
I'm within a conda env, and wish to install a python package not available as a debian package, but rather a setup.py. I wish to install it globally (available to all environments, virtual and non) and run its setup.py with 'sudo python'. This resolves to a different path, not visible from within my virtual environment or local path. The exact opposite of the goal. How do I make this package visible to my conda venv?
Any help is appreciated.