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

Error: 'No module named tfx' - DirectRunner vs DataflowRunner #1936

Closed
luischinchillagarcia opened this issue Jun 4, 2020 · 4 comments
Closed

Comments

@luischinchillagarcia
Copy link

luischinchillagarcia commented Jun 4, 2020

Given a TFX Pipeline that works perfectly with DirectRunner, it fails with DataflowRunner during the TFT component with the error:

No module named tfx.

However, it's unclear how or why this error occurs. Here is a Colab notebook that shows the Pipeline working under DirectRunner while failing under DataflowRunner.

Would this a Beam-side issue? And if not, what are the possible solutions and sources this error is originating from?

@luischinchillagarcia luischinchillagarcia changed the title Error: DirectRunner vs DataflowRunner Error: 'No module named tfx' - DirectRunner vs DataflowRunner Jun 4, 2020
@rmothukuru rmothukuru self-assigned this Jun 5, 2020
@rmothukuru rmothukuru assigned ruoyu90 and unassigned rmothukuru Jun 5, 2020
@ntakouris
Copy link

@singhniraj08
Copy link
Contributor

@luischinchillagarcia,

I have found a similar closed issue 1 and 2 in which resolution is provided for dependency and cloudpickle conflicts. Please let us know if this issue can be closed.

@singhniraj08
Copy link
Contributor

Closing this due to inactivity. Please take a look into the answers provided above, feel free to reopen and post your comments(if you still have queries on this). Thank you!

@google-ml-butler
Copy link

Are you satisfied with the resolution of your issue?
Yes
No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants