My code was working on Colab, but today it got following error.
My tfdf installation is successfully:
!pip install tensorflow_decision_forests
It is the import statement got error:
import tensorflow_decision_forests as tfdf
here is the error message:
NotFoundError                             Traceback (most recent call last)
 in ()
6 import matplotlib.pyplot as plt
7 import tensorflow as tf
----> 8 import tensorflow_decision_forests as tfdf
9 from keras import backend as K
10 from sklearn.model_selection import train_test_split

5 frames

/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/load_library.py in load_op_library(library_filename)
56     RuntimeError: when unable to load the library or get the python wrappers.
57   “”"
—> 58   lib_handle = py_tf.TF_LoadLibrary(library_filename)
59   try:
60     wrappers = _pywrap_python_op_gen.GetPythonWrappers(
NotFoundError: /usr/local/lib/python3.7/dist-packages/tensorflow_decision_forests/tensorflow/ops/training/training.so: undefined symbol: _ZN10tensorflow11GetNodeAttrERKNS_9AttrSliceEN4absl14lts_2020_09_2311string_viewEPSs
Any idea?