transform: pip install does not work on Python 3

I can confirm that pip install tensorflow-transform goes through fine on Python 2.7.13. The following error message shows up for Python 3.5.3 and Python 3.6.0, however:

Could not find a version that satisfies the requirement tensorflow-transform (from versions: ) No matching distribution found for tensorflow-transform

I see that the package on PyPI is for Python 2 only. Is this intentional? If so, will there be an upcoming Python 3 release in the near future?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 16
  • Comments: 37 (21 by maintainers)

Most upvoted comments

I won’t be giving updates on the Apache Beam timeline, please refer to the Apache Beam project. Apart from Beam dependencies, we have starting running our tests against Python 2 and 3, so we are on track to support Python 3 soon after Apache Beam does.

@zoyahav, @KesterTong Should we close this now?

Is this still an issue ?

Yes it is and should stay until https://issues.apache.org/jira/browse/BEAM-1251 is fixed.

@luke-zhu did some excellent work on Python 3 type inference for BEAM (see https://github.com/apache/beam/pull/4183 ) We still have more steps (see https://issues.apache.org/jira/browse/BEAM-2784 ), I have an open PR for a somewhat hacky solution to the proto issue ( https://github.com/apache/beam/pull/4077 ) & more folks are always welcome to join in 😃

TFT 0.13 has support for Python 3.5 [1].

Other version of Python (like 3.6 and 3.7) will follow in future releases (after Beam officially supports them).

[1] https://github.com/tensorflow/transform/releases/tag/v0.13.0

@rafiqhasan, Python 3 support is a priority for tf.Transform, but we are blocked by Beam (please see Beam for updates on their Python 3 status). To re-iterate our strategy from my comment above:

we have starting running our tests against Python 2 and 3, so we are on track to support Python 3 soon after Apache Beam does.

The situation is unchanged: we are blocked on https://issues.apache.org/jira/browse/BEAM-1373. Once this is resolved there are no major blockers to Python 3 support in tf.Transform