Upgrade fails when updating ERPNext v8.0.65 to v9.1.5

This search gives lots of ideas:

"
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: ./env/bin/pip install -q -r ./apps/erpnext/requirements.txt
"

Here’s one if you have not already followed that advice Error on upgradation v6-v7 - #4 by KanchanChauhan