Help: Import tensorrt failed, how to deal with it?

root@gpu214 TensorRT-]# python3
Python 3.6.8 (default, Aug 7 2019, 17:28:10)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

import tensorrt
Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/lib/python3.6/site-packages/tensorrt/”, line 1, in
from .tensorrt import *
ImportError: /data/TensorRT- symbol cudnnBatchNormalizationForwardTrainingEx, version not defined in file with link time reference

nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176

1 Like

I meet the same problem, have you solved it?