samples for dataflow
Using python 2.7, pip and virtualenv
# clone the project
git clone https://github.com/VikramTiwari/dataflow-samples.git dataflow-samples
# switch to the directory
cd dataflow-sample
# make sure it's 2.7
python --version
# this will create a virtual environment without affecting anything on your system
virtualenv dataflow
# activate virual environment
source dataflow/bin/activate
# install necessary packages
pip install --upgrade setuptools apache-beam
pip install --upgrade apache-beam[gcp]