cannot locate TensorRT when installing TensorFlow

To install tensorflow on my ubuntu 16.04 laptop git cloned tensorflow and run ./configure
During the setup when asked to specify location of TensorRT, I entered /usr/lib/x86_64-linux-gnu
but it does not find libraries.

Please specify the location where TensorRT is installed. [Default is /usr/lib/x86_64-linux-gnu]:

Invalid path to TensorRT. None of the following files can be found:

I did installed TensorRT and file can be found in

/usr/lib/x86_64-linux-gnu$ ls libnvinfer*

And when check the package
$ pip show tensorrt
Name: tensorrt
Summary: Python API for TensorRT, a high-performance deep learning inference optimizer and runtime for deep learning applications.
Author: NVIDIA Corporation
License: NVIDIA Software License
Location: /usr/lib/python2.7/dist-packages
Requires: argparse, enum34, protobuf, pycuda, Flask, future, pillow, numpy

Just wonder why tensorflow configure cannot detect tensorRT.
Any help would be appreciated.

We created a new “Deep Learning Training and Inference” section in Devtalk to improve the experience for deep learning and accelerated computing, and HPC users:

We are moving active deep learning threads to the new section.

URLs for topics will not change with the re-categorization. So your bookmarks and links will continue to work as earlier.


Was Kyubot’s question every resolved?

I have the same issue, and I cannot find the new thread via the link above

Thanks for the help.

Did you check whether the cuda+cudnn version you selected for tensorflow is the same with the tensorrt installation that came with python tensorrt package?