Skip to Content
Menu
This question has been flagged
6317 Views

I am unable to post questions on forum. It says forbidden everytime. That's why I am posting it here

I am trying to run odoo. I created venv and installed all the packages. OS is ubuntu 22.04. PG is running in docker and accessible.

The error I have is:

Traceback (most recent call last):
File "/home/ubuntu/Groupware-project/odoo/odoo-bin", line 8, in 
[odoo.cli.main()](https://odoo.cli.main%28%29/)
AttributeError: module 'odoo' has no attribute 'cli'

This command given in Odoo tutorial didn't help:
pip install --upgrade --force-reinstall -r requirements.txt

This is how I am running odoo

python odoo-bin --addons-path="../custom/,addons" -d odoo --db_user odoo --db_password odoo --db_port 5432 --db_host 127.0.0.1 --limit-memory-hard 0 --limit-time-real 0 -i base

Avatar
Discard
Related Posts Replies Views Activity
0
Jul 24
136
5
Jun 24
2128
2
Feb 24
838
5
Feb 24
24183
1
Sep 23
1552