Closed
Description
TensorFlow version: 2.9.1-gpu
TFC version: 2.9.1 # installed with pip install tensorflow-compression
got error when importing tfc
----> 2 import tensorflow_compression as tfc
/usr/local/lib/python3.7/dist-packages/tensorflow_compression/__init__.py in <module>
15 """Data compression in TensorFlow."""
16
---> 17 from tensorflow_compression.python import distributions
18 from tensorflow_compression.python import entropy_models
19 from tensorflow_compression.python import layers
/usr/local/lib/python3.7/dist-packages/tensorflow_compression/python/distributions/__init__.py in <module>
17 from tensorflow_compression.python.distributions.deep_factorized import *
18 from tensorflow_compression.python.distributions.helpers import *
---> 19 from tensorflow_compression.python.distributions.round_adapters import *
20 from tensorflow_compression.python.distributions.uniform_noise import *
/usr/local/lib/python3.7/dist-packages/tensorflow_compression/python/distributions/round_adapters.py in <module>
20 from tensorflow_compression.python.distributions import helpers
21 from tensorflow_compression.python.distributions import uniform_noise
---> 22 from tensorflow_compression.python.ops import round_ops
23
24
/usr/local/lib/python3.7/dist-packages/tensorflow_compression/python/ops/__init__.py in <module>
15 """TensorFlow operations and functions."""
16
---> 17 from tensorflow_compression.python.ops.gen_ops import *
18 from tensorflow_compression.python.ops.math_ops import *
19 from tensorflow_compression.python.ops.padding_ops import *
/usr/local/lib/python3.7/dist-packages/tensorflow_compression/python/ops/gen_ops.py in <module>
19
20 ops = load_library.load_op_library(resource_loader.get_path_to_datafile(
---> 21 "../../cc/libtensorflow_compression.so"))
22 globals().update({n: getattr(ops, n) for n in dir(ops)})
23
/usr/local/lib/python3.7/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: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/local/lib/python3.7/dist-packages/tensorflow_compression/python/ops/../../cc/libtensorflow_compression.so)
Metadata
Metadata
Assignees
Labels
No labels