Good morning, when I try to launch the Tensorboard visualization in my Jupiter notebook -after some callbacks with Tensorboard- using the commands
%load_ext tensorboard
%tensorboard --logdir=./mylogs --port=6006
I get the following error:
ERROR: Failed to launch TensorBoard (exited with 1).
Contents of stderr:
2020-07-24 17:58:23.492332: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libnvinfer.so.6
2020-07-24 17:58:23.492744: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘libnvinfer_plugin.so.6’; dlerror: libnvrtc.so.10.2: cannot open shared object file: No such file or directory
2020-07-24 17:58:23.492765: 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.
Traceback (most recent call last):
File “/usr/local/bin/tensorboard”, line 8, in
sys.exit(run_main())
File “/usr/local/lib/python3.6/dist-packages/tensorboard/main.py”, line 59, in run_main
default.get_plugins() + default.get_dynamic_plugins(),
File “/usr/local/lib/python3.6/dist-packages/tensorboard/default.py”, line 115, in get_dynamic_plugins
for entry_point in pkg_resources.iter_entry_points(‘tensorboard_plugins’)
File “/usr/local/lib/python3.6/dist-packages/tensorboard/default.py”, line 115, in
for entry_point in pkg_resources.iter_entry_points(‘tensorboard_plugins’)
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 2323, in load
self.require(*args, **kwargs)
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 2346, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 783, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (setuptools 39.0.1 (/usr/lib/python3/dist-packages), Requirement.parse(‘setuptools>=41.0.0’))
I’m using Tensorflow 2.1 with GPU. If any other detail is needed I’ll provide as soon as I can. If this is not the correct forum section I’d like to ask to move the topic in the correct one.
Thank you all for your kind time and patience.