Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
8743 Lượt xem

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?


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

'external_dependencies': {

        'python' : ['num2words'],

    },

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 10 23
6519
2
thg 1 23
5968
Datetime in python Đã xử lý
7
thg 6 21
25195
11
thg 9 19
39173
0
thg 5 16
4429