How to resolve this error

(tryton50) khushboo@aiims:~/workspace/tryton/tryton50/src/trytond$ ./bin/trytond-admin -c ../aiims_.conf -v -d cheque -u party

28647 140218190362432 [2020-03-20 11:58:08,803] INFO trytond.backend.postgresql.database connect to “cheque”
28647 140218190362432 [2020-03-20 11:58:08,896] WARNING py.warnings /home/khushboo/workspace/tryton/tryton50/src/trytond/trytond/wsgi.py:13: DeprecationWarning: The import ‘werkzeug.wsgi.SharedDataMiddleware’ is deprecated and will be removed in Werkzeug 1.0. Use ‘from werkzeug.middleware.shared_data import SharedDataMiddleware’ instead.
from werkzeug.wsgi import SharedDataMiddleware

28647 140218190362432 [2020-03-20 11:58:08,921] INFO trytond.modules ir:registering classes
28647 140218190362432 [2020-03-20 11:58:08,921] INFO trytond.modules res:registering classes
28647 140218190362432 [2020-03-20 11:58:08,921] INFO trytond.modules base:registering classes
28647 140218190362432 [2020-03-20 11:58:08,922] INFO trytond.modules country:registering classes
28647 140218190362432 [2020-03-20 11:58:08,922] INFO trytond.modules currency:registering classes
28647 140218190362432 [2020-03-20 11:58:08,923] INFO trytond.modules tests:registering classes
28647 140218190362432 [2020-03-20 11:58:08,923] INFO trytond.modules party:registering classes
28647 140218190362432 [2020-03-20 11:58:08,928] INFO trytond.modules bank:registering classes
28647 140218190362432 [2020-03-20 11:58:08,957] INFO trytond.modules company:registering classes
28647 140218190362432 [2020-03-20 11:58:08,970] INFO trytond.modules account:registering classes
Traceback (most recent call last):
File “/home/khushboo/workspace/tryton/tryton50/src/trytond/trytond/modules/init.py”, line 53, in import_module
module = importlib.import_module(fullname)
File “/usr/lib/python3.6/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 994, in _gcd_import
File “”, line 971, in _find_and_load
File “”, line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named ‘trytond.modules.account’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “./bin/trytond-admin”, line 21, in
admin.run(options)
File “/home/khushboo/workspace/tryton/tryton50/src/trytond/trytond/admin.py”, line 54, in run
activatedeps=options.activatedeps)
File “/home/khushboo/workspace/tryton/tryton50/src/trytond/trytond/pool.py”, line 149, in init
self.start()
File “/home/khushboo/workspace/tryton/tryton50/src/trytond/trytond/pool.py”, line 102, in start
register_classes()
File “/home/khushboo/workspace/tryton/tryton50/src/trytond/trytond/modules/init.py”, line 331, in register_classes
the_module = import_module(module)
File “/home/khushboo/workspace/tryton/tryton50/src/trytond/trytond/modules/init.py”, line 77, in import_module
module = spec.loader.load_module()
File “”, line 399, in _check_name_wrapper
File “”, line 823, in load_module
File “”, line 682, in load_module
File “”, line 265, in _load_module_shim
File “”, line 684, in _load
File “”, line 665, in _load_unlocked
File “”, line 678, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/home/khushboo/workspace/tryton/tryton50/lib/python3.6/site-packages/trytond_account-5.5.dev0-py3.6.egg/trytond/modules/account/init.py”, line 5, in
from . import account
File “/home/khushboo/workspace/tryton/tryton50/lib/python3.6/site-packages/trytond_account-5.5.dev0-py3.6.egg/trytond/modules/account/account.py”, line 13, in
from trytond.i18n import gettext
ModuleNotFoundError: No module named ‘trytond.i18n’

It seems you installed the 5.5 (development) version of account module with a 5.0 series of trytond
You should never mix modules between diferent series.

The error should be fixed by installing the proper version of the account module. This can be done with:

pip install --ugrade "trytond_account <5.1"

Hope it helps!