PIP 101 Reinstall old version of jinja2 (for ansible templating bug on python3.9) pip3 install --force-reinstall -v "jinja2==3.0.3" Upgrade all packages pip3 freeze > requirements.txt pip3 install -r requirements.txt --upgrade