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

When I Import any 3rd party Module I'm facing following error

Error while importing module 'MODULE_NAME': "invalid character in identifier\n('<unknown>', 1, 1, '\\ufeff# -*- coding: utf-8 -*-\\n')"?
anyway to resolve that?


using Odoo 11 Enterprise, on Ubuntu 16.0.4, Python3

Ảnh đại diện
Huỷ bỏ

In the Odoo v11 the line *- coding: utf-8 -*- is not required.. Just remove the line and see whether it is working or not

Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 1 22
17137
1
thg 12 22
6715
3
thg 7 25
1988
3
thg 5 25
3467
2
thg 6 25
4025