Tested on python 3.7.1. To run the job: mkvirtualenv -p python3 testing_chapter_example pip install -r requirements.txt python avg_price_job.py --output /tmp/foo Run tests via IDE or pytest.