groovenauts / QueryItSmart

QueryIt Smart is the demonstration application for BigQuery & Cloud Machine Learning.
MIT License
87 stars 16 forks source link

Problem with dataflow #96

Closed saiaman closed 5 years ago

saiaman commented 5 years ago

AttributeError: Can't get attribute 'Encode64DoFn' on <module 'dataflow_worker.start' from '/usr/local/lib/python3.5/site-packages/dataflow_worker/start.py'

Any help welcome

nagachika commented 5 years ago

Hi, thank you for your interest!

Did you install package with pip install apache_beam[gcp]? Show us the full command line and backtrace?

nagachika commented 5 years ago

No response. Closed

bryzgaloff commented 4 years ago

You have encountered BEAM-6158. It is a known issue of Apache Beam: it does not support super() calls in then main module when using Python 3. Please follow the link above and choose one of the provided solutions.

You can also find a solution on Stack Overflow to avoid running pipeline using Python 2.