تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
7498 أدوات العرض

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
4
يناير 22
17138
1
ديسمبر 22
6719
3
يوليو 25
1989
3
مايو 25
3471
2
يونيو 25
4028