bench --site site.com install-app erpnext
Installing erpnext…
Updating DocTypes for erpnext : [= ] 3%An error occurred while installing erpnext: Module import failed for Opening Invoice Creation Tool, the DocType you’re trying to open might be deleted.
Error: cannot import name ‘is_job_queued’ from ‘frappe.utils.background_jobs’ (/Users/suman/Development/frappe-bench/apps/frappe/frappe/utils/background_jobs.py)
Traceback (most recent call last):