I think you should use python 3.13 or newer and setting up a virtual environment.
sudo apt-get update
sudo apt install python3.13
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install flask-humanify
Best regards!