Error while installing frappe "bench init frappe-bench --frappe-branch version-15"

If the bench restart command returns the same error, it suggests a permissions problem. I don’t know what instructions were followed to install , and I’m not sure Ubuntu 24/python12 are supported officially. There are other posts in the forum relating to those platforms. For example: Can I install ERPNext v15 on ubuntu 24?

If I can think of anything else to try I’ll post it here.