ImportError: No module named _mysql_exceptions

Hi all
i have following error while installing frappe on production server.

added 589 packages from 569 contributors and audited 3725 packages in 14.299s
found 10 vulnerabilities (1 low, 4 moderate, 4 high, 1 critical)
  run `npm audit fix` to fix them, or `npm audit` for details
Traceback (most recent call last):
  File "/home/indictrans/boltmaster/frappe-bench/apps/frappe/frappe/utils/", line 64, in get_app_commands
    app_command_module = importlib.import_module(app + '.commands')
  File "/usr/lib/python2.7/importlib/", line 37, in import_module
  File "/home/indictrans/boltmaster/frappe-bench/apps/frappe/frappe/commands/", line 62, in <module>
    commands = get_commands()
  File "/home/indictrans/boltmaster/frappe-bench/apps/frappe/frappe/commands/", line 56, in get_commands
    from .site import commands as site_commands
  File "/home/indictrans/boltmaster/frappe-bench/apps/frappe/frappe/commands/", line 6, in <module>
    from _mysql_exceptions import ProgrammingError
ImportError: No module named _mysql_exceptions
Usage: bench frappe [OPTIONS] COMMAND [ARGS]...
Try "bench frappe --help" for help.

Error: No such command "build".

Which version you are using?

erpnext 9.2.12
frappe 9.2.13

i am also facing same problem. can anyone guide how to resolve this issue?