跳至內容
選單
此問題已被標幟
8318 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
7月 24
676
5
6月 24
3494
2
2月 24
2176
5
2月 24
25510
1
9月 23
2607