tensorflow.python.framework.errors_impl.NotFoundError: undefined symbol: _ZN10tensorflow8OpKernel11TraceStringB5cxx11EPNS_15OpKernelContextEb
I encounter a bug that occurs when I try to import tensorflow in a conda environment (python 3.8). All my attempts so far, to even revert to a previous version or recreate the environment from scratch with different version of tensorflow, failed so far. The issue is similar to https://github.com/tensorflow/tensorflow/issues/42084 but I didn't manage to get a fix out of it, even some others have the same issue (and the end was "It's better to open a new issue and post the full details."), so here I am!
About the system
A Kubuntu (Linux) computer, version 20.04. The installation step are close to https://www.tensorflow.org/install/pip#ubuntu-macos, adapted to the current version of Kubuntu for the nvidia dependencies. Pilots Nvidia Updated CUDA/cuDNN version: 11.00 TF installed from conda (Binary) TF version 2.2.0 or 2.3.0
Step to reproduce
Launch python 3.8
>>> import tensorflow
2021-02-17 10:35:57.687845: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/me/.local/lib/python3.8/site-packages/tensorflow/__init__.py", line 436, in <module>
_ll.load_library(_main_dir)
File "/home/me/.local/lib/python3.8/site-packages/tensorflow/python/framework/load_library.py", line 153, in load_library
py_tf.TF_LoadLibrary(lib)
tensorflow.python.framework.errors_impl.NotFoundError: /home/me/.conda/envs/CasComplexe/lib/python3.8/site-packages/tensorflow/core/kernels/libtfkernel_sobol_op.so: undefined symbol: _ZN10tensorflow8OpKernel11TraceStringB5cxx11EPNS_15OpKernelContextEb
It was in the wrong project, sorry about the noise.