Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.7 support #97

Closed
yongtang opened this issue Feb 17, 2019 · 4 comments
Closed

Python 3.7 support #97

yongtang opened this issue Feb 17, 2019 · 4 comments
Labels
enhancement Enhancement request

Comments

@yongtang
Copy link
Member

Python 3.7 is a supported version in TF 1.13.0 (rc2), so we should support 3.7 as well (already saw lots of interests in TF about 3.7).

@yongtang
Copy link
Member Author

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).

@wookayin
Copy link
Contributor

wookayin commented Feb 25, 2019

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)

@yongtang
Copy link
Member Author

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?

@yongtang yongtang added the enhancement Enhancement request label Mar 3, 2019
@yongtang
Copy link
Member Author

yongtang commented May 9, 2019

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).

@yongtang yongtang closed this as completed May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement request
Projects
None yet
Development

No branches or pull requests

2 participants