Skip to content

Installation of apache-beam[gcp] in a clean environment gets stuck in pip's dependency resolver.  #22218

Closed
@NicAlis

Description

@NicAlis

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

  1. 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]
  1. 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

Screenshot 2022-07-11 at 13 28 06

Screenshot 2022-07-11 at 13 31 27

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions