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

root@gpu214 TensorRT-7.0.0.11]# 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/init.py”, line 1, in
from .tensorrt import *
ImportError: /data/TensorRT-7.0.0.11/targets/x86_64-linux-gnu/lib/libmyelin.so.1: symbol cudnnBatchNormalizationForwardTrainingEx, version libcudnn.so.7 not defined in file libcudnn.so.7 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?