problem accessing odoo from ubuntu terminal 18

独自空忆成欢 提交于 2020-05-28 04:50:27

问题


I'm trying to access odoo through commands but I get critical errors one is odoo.modules.module: Couldn't load module web

odoo.modules.module: The 'odoo.addons.web' package was not installed in a way that PackageLoader understands.

ERROR? odoo.service.server: Failed to load server-wide module web.

so I can't access odoo with the command ./odoo-bin

Do you know how I can solve the problem?


回答1:


You must uninstall jinja2 and reinstalling with this version Jinja2==2.10.1

pip3 uninstall jinja2

and

pip3 install Jinja2==2.10.1




回答2:


In my case I had this issue in openerp8 with python2.7

I had updated Jinja2 version which is not supported by python2.7 version so I just degrade the version from 2.11 to 2.10 and it's work.



来源:https://stackoverflow.com/questions/60049484/problem-accessing-odoo-from-ubuntu-terminal-18

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!