跳至內容
選單
此問題已被標幟
1 回覆
8941 瀏覽次數

Hi,

I installed Odoo 14 from deb package on my AWS EC2 instance, Ubuntu 20.0.4.

When I check log file, it says:

    WARNING ? odoo.addons.base.models.res_currency: The num2words python library is not installed, amount-to-text features won't be fully available.

Then I used pip to install num2words and restarted the service, but still same warning.

My question is:
1. why num2words is not included in the deb package?
2. why same warning when I installed it?
頭像
捨棄

Did you try to install it?

I would advice you to install it throuhg pip

- Install if you dont have it: sudo apt-get install python3-pip

- Then go to the odoo directory and run: sudo python3 -m pip install -r requirements.txt

作者

Francisco, yes I've installed it through pip

最佳答案

Did you check the version of the package, means did you install it with pip3 (not pip)?

頭像
捨棄
作者

Yes, your answer works. I installed again with pip3: sudo python3 -m pip install num2words

sudo pip3 install... is a bit shorter :-)