Giter VIP home page Giter VIP logo

Comments (13)

MattMorgis avatar MattMorgis commented on July 24, 2024 1

Hi @orechick - We've been compiling/installing from source, and it works on Python 3. There is a commit that enables it in setup.py. I think it's going to be supported and offered in the next version, 0.13.0

You'll need protoc installed where you do this, and then I believe the command is pip install -e .[tfx] from the root directory after a git checkout of this repo.

from tfx.

orechick avatar orechick commented on July 24, 2024 1

when does 0.13 will be released?

from tfx.

ruoyu90 avatar ruoyu90 commented on July 24, 2024 1

@Mageswaran1989 Maybe try a different Python version? Python 3.5 works for me well on Linux. If problem still persists, maybe forward this to Airflow community for better assistant?

from tfx.

ruoyu90 avatar ruoyu90 commented on July 24, 2024

Thanks @MattMorgis for the detailed introduction!
Hi @orechick - tfx package is now Python3 compatible, however we decide to postpone releasing Python3 version on PyPi since there are some bugs to be fixed in our dependency libraries. The good news is we're very close and hope to release 0.13 (including a Python3 version) soon. In the meantime, you can try it out by installing from source. Please let us know for any problem!

from tfx.

zhitaoli avatar zhitaoli commented on July 24, 2024

from tfx.

krazyhaas avatar krazyhaas commented on July 24, 2024

minor correction: we are awaiting Apache beam 2.12.0 to be released.

from tfx.

ruoyu90 avatar ruoyu90 commented on July 24, 2024

TFX 0.13.0rc0 is alive now. Feel free to try it out and let us know for anything :)

from tfx.

thak123 avatar thak123 commented on July 24, 2024

Apache beam 2.12.0 is out
https://github.com/apache/beam/releases

from tfx.

Mageswaran1989 avatar Mageswaran1989 commented on July 24, 2024

Error

  Traceback (most recent call last):
    File "/home/mageswarand/.conda/envs/default/lib/python3.7/runpy.py", line 193, in _run_module_as_main
      "__main__", mod_spec)
    File "/home/mageswarand/.conda/envs/default/lib/python3.7/runpy.py", line 85, in _run_code
      exec(code, run_globals)
    File "/home/mageswarand/.conda/envs/default/lib/python3.7/site-packages/pip/__main__.py", line 16, in <module>
      from pip._internal import main as _main  # isort:skip # noqa
    File "/home/mageswarand/.conda/envs/default/lib/python3.7/site-packages/pip/_internal/__init__.py", line 4, in <module>
      import locale
    File "/home/mageswarand/.conda/envs/default/lib/python3.7/locale.py", line 16, in <module>
      import re
    File "/home/mageswarand/.conda/envs/default/lib/python3.7/re.py", line 143, in <module>
      class RegexFlag(enum.IntFlag):
  AttributeError: module 'enum' has no attribute 'IntFlag'

While following the workshop setup on Python 3.7.1 env, Airflow installation is having problem and solution is pip uninstall enum34 . Reference

from tfx.

ruoyu90 avatar ruoyu90 commented on July 24, 2024

@thak123 Yep! We pushed 0.13.0rc0 last week which includes Python 3 support (3.5). Feel free to try it out :)

@Mageswaran1989 Currently we only have fully support for Python 3.5 with 0.13.0rc0. Btw, are you having problems on Mac?

from tfx.

Mageswaran1989 avatar Mageswaran1989 commented on July 24, 2024

@ruoyu90 I use Ubuntu 18 and this particular issue comes while installing Airflow package, which I had faced in the past also.

from tfx.

Mageswaran1989 avatar Mageswaran1989 commented on July 24, 2024

@ruoyu90 it is just that we are using python 3.7.1 version, and we are currently understanding the example :)

We are working on Image data set and was wondering is there any examples/materials that could help us to start with? 80

from tfx.

ruoyu90 avatar ruoyu90 commented on July 24, 2024

FYI TFX 0.13 release is alive now with Python 3.5 support.

from tfx.

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.