Installing Apache Beam

Installing Apache Beam #

For Python:

pip3 install apache-beam

Cloud #

To interface with different cloud services:

# for GCP
pip3 install 'apache-beam[gcp]'

# for AWS
pip3 install 'apache-beam[aws]'

# for Azure
pip install 'apache-beam[azure]'

Testing #

To run tests, such as unit tests:

pip install 'apache-beam[test]'

Docs #

To generate Beam docs

pip install 'apache-beam[docs]'

The setup could take a while.

Note: It’s usually best practice to install all the components for a project within a virtual environment.