Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
7491 มุมมอง

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

อวตาร
ละทิ้ง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
4
ม.ค. 22
17137
1
ธ.ค. 22
6718
3
ก.ค. 25
1989
3
พ.ค. 25
3468
2
มิ.ย. 25
4025