tl;dr the use of virtual env: # #! /usr/bin/env python # . venv/bin/activate