Same problem after 10 tries of reinstalling!

This post offers a solution…

or…
from the official instructions…here
Scenario Three: You want to stay on v10 (master ==> v10.x.x)

bench switch-to-branch v10.x.x frappe erpnext
bench update --patch