Git Product home page Git Product logo

Comments (4)

yongtang avatar yongtang commented on August 9, 2024 1

Tried to repackage binary with python 3.7 (on Ubuntu 14.04). When running on Ubuntu 18.04 could see the following error:

/usr/local/lib/python3.7/dist-packages/tensorflow_io/image/python/ops/_image_ops.so: undefined symbol: _ZN10tensorflow7strings6StrCatERKNS0_8AlphaNumES3_

A likely cause I guess is that Python 3.7 version of tensorflow is compiled with some flags in gcc (or a different version of gcc).

from io.

wookayin avatar wookayin commented on August 9, 2024

I ran into this issue. In my environments was:

  • python 3.6 (anaconda)
  • Ubuntu 16.04
  • g++

where I manually built TF 1.13.0-rc2 from source.

When I was using TF 1.13.0-rc2 from pypi, the error did not happen. In both cases I built tensorflow-io from source (0.4.0, the latest snapshot as of 2/25)

(I suggest to change the title of this issue as Undefined symbol: _ZN10tensorflow7strings6StrCatERKNS0_8AlphaNumE or something like that)

from io.

yongtang avatar yongtang commented on August 9, 2024

I haven't tried myself but I guess it may have something to do with the api compatibility. Maybe you could give -copt="-D_GLIBCXX_USE_CXX11_ABI=0" a try when building with bazel for both tensorflow and tensorflow-io?

from io.

yongtang avatar yongtang commented on August 9, 2024

Python 3.7 has been added in PR #193 and tensorflow-io-nightly. it will show up in the next version of release (v0.6.0).

from io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.