Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
8945 Zobrazení

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?
Avatar
Zruš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

Autor

Francisco, yes I've installed it through pip

Nejlepší odpověď

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

Avatar
Zrušit
Autor

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

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