Skip to Content
Menu
This question has been flagged
2 Replies
16158 Views

Traceback (most recent call last):

  File "./odoo-bin", line 5, in <module>

    import odoo

  File "/home/synconic/workspace/projects/odoo_11/odoo/__init__.py", line 84, in <module>

    from . import modules

  File "/home/synconic/workspace/projects/odoo_11/odoo/modules/__init__.py", line 8, in <module>

    from . import db, graph, loading, migration, module, registry

  File "/home/synconic/workspace/projects/odoo_11/odoo/modules/graph.py", line 10, in <module>

    import odoo.tools as tools

  File "/home/synconic/workspace/projects/odoo_11/odoo/tools/__init__.py", line 8, in <module>

    from .config import config

  File "/home/synconic/workspace/projects/odoo_11/odoo/tools/config.py", line 17, in <module>

    from passlib.context import CryptContext

ModuleNotFoundError: No module named 'passlib'

Avatar
Discard
Best Answer

Try this Following command

sudo pip3 install passlib

Thanks & Regards,
Rohit Ramnani

Avatar
Discard
Best Answer

This might help.

https://github.com/odoo/odoo/issues/16451

"your problem maybe caused because your pip command is related to pip3 which is for python 3 and Odoo uses python 2. Could you please try to run 'pip2 install passlib' instead of 'pip install passlib' and if it works, you can run 'pip2 install -r requirements.txt"

Avatar
Discard
Author

Its not working actually as per the suggestion