Bench --site erpnext-site3 install-app erpnext give trhis error invalid syntax (, line 131)

frappe-bench$ bench --site erpnext-site3 install-app erpnext
WARN: bench is installed in editable mode!

This is not the recommended mode of installation for production. Instead, install the package from PyPI with: pip install frappe-bench

Installing erpnext…
Updating DocTypes for erpnext : [ ] 3%An error occurred while installing erpnext:
invalid syntax (, line 131)

hi community
where is the heroes of erpnext to answer my queiston above?

I also encountered this problem, hope this will be answered soon.

Is your bench env Python 3.6+? If yes, there maybe an issue with the develop branch of ERPNext or Frappe, but that doesn’t seem like it (given the local and CI tests). But in case you’re having difficulties with the develop branch, try out the stable branches instead, version-12, version-13-beta`!