# How to resolve this error

**URL:** <https://discuss.tryton.org/t/how-to-resolve-this-error/2466>\
**Category:** Developer\
**Created:** [March 20, 2020, 11:59am UTC](https://discuss.tryton.org/t/how-to-resolve-this-error/2466 "2020-03-20T11:59:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prashasti.sharma](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/p/58f4c7/32.png) [@prashasti.sharma](https://discuss.tryton.org/u/prashasti.sharma)\
**Post date:** [March 20, 2020, 11:59am UTC](https://discuss.tryton.org/t/how-to-resolve-this-error/2466/1 "2020-03-20T11:59:15Z")

</div>

```
(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’

---

<div class="post-metadata">

**Author:** ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)\
**Post date:** [March 20, 2020, 12:15pm UTC](https://discuss.tryton.org/t/how-to-resolve-this-error/2466/2 "2020-03-20T12:15:10Z")

</div>

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:

```bash
pip install --ugrade "trytond_account <5.1"

```

Hope it helps!
