io icon indicating copy to clipboard operation
io copied to clipboard

TF-IO 0.29 call to tf.experimental.register_filesystem_plugin(f) is None

Open Marmotte06 opened this issue 1 year ago • 0 comments

Hi, I just upgraded to Tensorflow-io 0.29 and TF 2.11 and my code is broken with the following errors. It seems TF-IO is calling some experimental features of TF that are no more experimental in TF 2.11. I am on Windows 10 with Python 3.10.

Traceback (most recent call last): File "C:\Users\Olivier\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow_io\python\ops_init_.py", line 64, in load_library l = load_fn(f) File "C:\Users\Olivier\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow_io\python\ops_init.py", line 56, in load_fn = lambda f: tf.experimental.register_filesystem_plugin(f) is None AttributeError: module 'tensorflow' has no attribute 'experimental'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): import tensorflow_io as tfio File "C:\Users\Olivier\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow_io_init_.py", line 17, in from tensorflow_io.python.api import * # pylint: disable=wildcard-import File "C:\Users\Olivier\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow_io\python\api_init_.py", line 19, in from tensorflow_io.python.ops.io_dataset import IODataset File "C:\Users\Olivier\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow_io\python\ops_init_.py", line 96, in plugin_ops = load_library("libtensorflow_io_plugins.so", "fs") File "C:\Users\Olivier\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow_io\python\ops_init.py", line 67, in _load_library except (tf.errors.NotFoundError, OSError) as e: AttributeError: module 'tensorflow' has no attribute 'errors'

Marmotte06 avatar Jan 03 '23 06:01 Marmotte06