Hi, I was working in Colab with Cirq, TensorFlow, and TensorFlow Quantum without making any version changes or anything similar. Today, when trying to run the code, this error occurred:
NotFoundError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/tensorflow_quantum/core/ops/load_module.py in load_module(name)
41 path = resource_loader.get_path_to_datafile(name)
—> 42 return load_library.load_op_library(path)
43 except:
8 frames
NotFoundError: /usr/local/lib/python3.10/dist-packages/tensorflow_quantum/core/ops/_tfq_simulate_ops.so: undefined symbol: _ZN10tensorflow15OpKernelContext10CtxFailureEPKciRKN4absl12lts_202301256StatusE
During handling of the above exception, another exception occurred:
NotFoundError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/tensorflow/python/framework/load_library.py in load_op_library(library_filename)
52 RuntimeError: when unable to load the library or get the python wrappers.
53 “”"
—> 54 lib_handle = py_tf.TF_LoadLibrary(library_filename)
55 try:
56 wrappers = _pywrap_python_op_gen.GetPythonWrappers(
NotFoundError: /usr/lib/python3/dist-packages/tensorflow_quantum/core/ops/_tfq_simulate_ops.so: cannot open shared object file: No such file or directory