recommend using Conda for development environments and replace requirements.txt with environment.yml
Because we have dependencies on external libs like imagemagick the easiest way to avoid pain is just to use Conda.
The conda development environment can then also include
yarn, so dev setup is literally
conda env create && conda activate && yarn install