New error when running bench update: ./env/bin/pip not found

Nevermind. The page linked above actually does contain the solution- it’s just spread amongst the various comments about uninstalling/reinstalling mysql/mariadb, etc. Since this page was the most recent to come up when I searched for the ./env/bin/pip not found “root cause” error, I’ll sum up.

Basically I (and you, person who found this) screwed up by sudo updating from root rather than just running bench update. To fix-

From the frappe-bench directory:

bench setup env
./env/bin/pip install -e ./apps/frappe
./env/bin/pip install -e ./apps/erpnext
bench update

This got my system back up. I assume I can now proceed with standard bench update/migrate and/or normal operations. Will update this if further issues are encountered.

2 Likes