ImportError: Module import failed for Tax Rule (erpnext.accounts.doctype.tax_rule.tax_rule)

Have you modified the code of tax_rule.py? Sometime module import fails due to wrong import statement/ circular import inside py file.