跳至内容
菜单
此问题已终结
1 回复
8720 查看

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?


形象
丢弃
最佳答案

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

'external_dependencies': {

        'python' : ['num2words'],

    },

形象
丢弃
相关帖文 回复 查看 活动
3
10月 23
6498
2
1月 23
5937
7
6月 21
25171
11
9月 19
39151
0
5月 16
4410