Closed
Description
Installing apache-beam[gcp]==2.34.0 or newer version into a clean virtual environment with pip 21.3 or newer currently gets stuck in pip's dependency resolver.
Workarounds
- Preinstall following Apache Beam dependencies prior to installing Beam itself:
pip install google-api-core==1.31.6
pip install google-cloud-pubsub==2.13.1 google-cloud-bigquery-storage==2.13.2
pip install apache-beam[gcp]
- Use apache-beam[gcp]==2.33.0 or earlier that are not as adversely affected.
Symptoms
One of the symptoms that shows numerous backtracking iterations performed by pip's dependency resolver are warnings like
google-api-core 2.8.2 does not provide the extra 'grpcgcp