TensorRT3 cannot import name '_nv_infer_bindings'

Hi:
I installed tensorRT3 in ubuntu16. But when I import tensorRT a error occur:

from tensorrt.infer import _nv_infer_bindings as nvinfer
ImportError: cannot import name ‘_nv_infer_bindings’

how to solve it?

my code:
import tensorflow as tf
import uff
import tensorrt

same problem here

Me too. Thanks

Rename the file there to just _nv_infer_bindings.so (without the complicated extension)

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:
https://devtalk.nvidia.com/default/board/301/deep-learning-training-and-inference-/

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.

-Siddharth

Do you have the location where TensorRT is installed in your LD_LIBRARY_PATH?

I cannot rename the file _nv_infer_bindings.cpython-35m-x86_64-linux-gnu.so