I have TensorRT installed in system level (installed from .deb file) and installed Tensorflow in a virtual environment using pip. But Tensorflow complains for missing TensorRT whenever I import tensorflow in my python app.
Is it possible to link tensorrt (installed in system level) in a venv without reinstalling in venv (using - pip install tensorrt)? I’m asking it because, tensorrt does a redundant installation of CUDA and cuDNN libs too in the venv if installed from pip.