Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
8326 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 24
680
5
thg 6 24
3500
2
thg 2 24
2180
5
thg 2 24
25512
1
thg 9 23
2614