I had a minor annoyance setting up the docker when the version of requests changed and docker-compose wouldn't build anymore with what I had installed.
See here for python virtual environments: https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments