Python Forum
Can't find some libraries while importing TensorFlow
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't find some libraries while importing TensorFlow
#1
Hello,

While trying to import TensorFlow, I see that some libraries are missed.
>>> import tensorflow as tf
2020-03-16 15:55:06.178671: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda-10.2/lib64
2020-03-16 15:55:06.178790: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda-10.2/lib64
2020-03-16 15:55:06.178805: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
>>> 
What should I check in my setup ?
Thanks.
Reply


Messages In This Thread
Can't find some libraries while importing TensorFlow - by Pavel_47 - Mar-16-2020, 03:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Tensorflow cudart64_101.dll could not find dll robdineen 1 3,878 Jul-10-2020, 05:42 AM
Last Post: hussainmujtaba
  Importing tensorflow on OEL6 server Merrish_Dan 1 2,607 May-10-2018, 07:22 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020