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

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
6514
2
1月 23
5962
7
6月 21
25184
11
9月 19
39169
0
5月 16
4419