Cannot import name 'get_date_format' from 'frappe.locale'

I am encountering an error while running my Frappe CRM application. The traceback is as follows:

Traceback (most recent call last):
  File "apps/frappe/frappe/website/serve.py", line 20, in get_response
    response = renderer_instance.render()
  File "apps/frappe/frappe/website/page_renderers/template_page.py", line 84, in render
    html = self.get_html()
  File "apps/frappe/frappe/website/utils.py", line 530, in cache_html_decorator
    html = func(*args, **kwargs)
  File "apps/frappe/frappe/website/page_renderers/template_page.py", line 95, in get_html
    self.update_context()
  File "apps/frappe/frappe/website/page_renderers/template_page.py", line 160, in update_context
    self.pymodule = frappe.get_module(self.pymodule_name)
  File "apps/frappe/frappe/__init__.py", line 1433, in get_module
    return importlib.import_module(modulename)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "apps/crm/crm/www/crm.py", line 8, in <module>
    from frappe.locale import (
ImportError: cannot import name 'get_date_format' from 'frappe.locale' (unknown location)

What is the recommended approach to resolve this error?

Hi I have the same issue on crm 2.0.0-dev just installed

Hi, Try with main branch, thats working for me.

Thanks alot . The main branch is working. I have created a custom image with the develope 2.0.0-dev . I have to create another image

Yes, On Main Branch It is working , Thank You