1

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.

2
  • type in terminal python -V and you get a version of python Commented Jun 15, 2020 at 11:45
  • It's 3.8.3 version Commented Jun 15, 2020 at 11:53

1 Answer 1

3

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

The code throws the error is here.

Sign up to request clarification or add additional context in comments.

1 Comment

This is correct. The upcoming 2.23.0 release is expected to add Python 3.8 support.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.