1
votes

My template command is python gcp_parquet.py --runner DataflowRunner --project project_ID --staging_location STAGING_LOCATION --temp_location TEMP_LOCATION --template_location TEMPLATE_LOCATION --experiment=use_beam_bq_sink --region us-east1

I am getting the following error: Exception: Dataflow only supports Python versions 2 and 3.5+, got: (3, 8)

I am using python 3.8.3 in virtual env.

Please help me solve this issue.

1
type in terminal python -V and you get a version of python - Олег Гребчук
It's 3.8.3 version - Kshitij Bhadage

1 Answers

3
votes

It doesn't look like Beam Python SDK supports Python 3.8 yet.

The code throws the error is here.