Unable to install ERPnext v8 due to pip v19

You could try this

bench update --patch

but beyond that I’m not sure what else to suggest