Module import failed for Process Statement Of Accounts

I am getting this error while installing erpnext
bench --site test.com install-app erpnext

Updating DocTypes for erpnext : [==== ]An error occurred while installing erpnext: Module import failed for Process Statement Of Accounts (erpnext.accounts.doctype.process_statement_of_accounts.process_statement_of_accounts Error: cannot import name 'format_date' from 'frappe.utils' (/home/frappe-user/frappe-bench/apps/frappe/frappe/utils/__init__.py))

I have the same error, I have tried to get the solution the whole day! Anyone who has a workaround, please?

You will get the clue by the following link.