Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
8745 Näkymät

I am running Odoo 10 on Windows and have a module that requires num2words 0.5.3.

I successfully added it using pip and have tested "import num2words" using the IDLE (Python GUI), but when I attempt to install the module I still get an error message saying that an external dependency has not been met. No module named num2words.

Is there an extra step that I have to take to get Odoo to recognize num2words in Windows?


Avatar
Hylkää
Paras vastaus

In your module manifest file check that num2word is listed as external dependency . if not add this entry to it

'external_dependencies': {

        'python' : ['num2words'],

    },

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
lokak. 23
6519
2
tammik. 23
5968
7
kesäk. 21
25195
11
syysk. 19
39173
0
toukok. 16
4429