problem accessing odoo from ubuntu terminal 18

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?

Upvotes: 1

Views: 2643

Answers (2)

Keval Mehta
Keval Mehta

Reputation: 664

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.

Upvotes: 0

Miftahussalam
Miftahussalam

Reputation: 126

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

pip3 uninstall jinja2

and

pip3 install Jinja2==2.10.1

Upvotes: 11

Related Questions