I am facing above error while running pip install -e bench-repo
System Spe:
Ubuntu : 22.04
ERP NEXT Version_9
Your environment suggests that you are running python 2.7.x.
ERPNext v9 is very very very old and you are unlikely to succeed with that installation on ubuntu 22.x because of compatibility issues. If you need v9, you could consider using ubuntu v14.x