I got it working. I ran the following in my src/routes/functions directory
python3 -m venv venv source venv/bin/activate && python3.11 -m pip install -r requirements.txt