io icon indicating copy to clipboard operation
io copied to clipboard

libtensorflow_io.so: undefined symbol: _ZNK10tensorflow4data11DatasetBase3GetEPNS_15OpKernelContextElPSt6vectorINS_6TensorESaIS5_EE

Open somelaoda opened this issue 3 years ago • 4 comments

I'm try to use NGC tensorflow image (https://docs.nvidia.com/deeplearning/frameworks/tensorflow-release-notes/rel_21-12.html#rel_21-12) to run tensorflow-io, but I got this error

unable to open file: libtensorflow_io.so, from paths: ['/usr/local/lib/python3.8/dist-packages/tensorflow_io/python/ops/libtensorflow_io.so']
caused by: ['/usr/local/lib/python3.8/dist-packages/tensorflow_io/python/ops/libtensorflow_io.so: undefined symbol: _ZNK10tensorflow4data11DatasetBase3GetEPNS_15OpKernelContextElPSt6vectorINS_6TensorESaIS5_EE']

I think it may cuse by a unsupport tensorflow version(build by ngc themself),

Can I have a easier build function without docker to adapt this version ?

Thank you~

somelaoda avatar Jan 20 '22 12:01 somelaoda

ever get a resolution on this?

kyledufrane avatar Mar 16 '22 21:03 kyledufrane

Make ensure compatibility with TensorFlow, see https://github.com/tensorflow/io#tensorflow-version-compatibility

cnglen avatar Sep 21 '22 14:09 cnglen

I am having the same problem, i am running:

  • Python 3.10.13
  • Tensorflow 2.13.0
  • Tensorflow-io tried both 0.33.0 and 0.34.0 but neither works

moscaAle29 avatar Dec 18 '23 16:12 moscaAle29

do readme says pip install tensorflow-io[tensorflow] will install compatible versions and it WFM.

bjarthur avatar Feb 09 '24 20:02 bjarthur