Tony
Tony

Reputation: 3489

Issue importing Odoo module

I'm trying to install a module on Odoo12 and it reports this line.

File "/usr/lib/python3.6/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 1
    -*- coding: utf-8 -*-

Anyone could point me in the right direction?

Thanks

Upvotes: 0

Views: 339

Answers (1)

Thayif kabir
Thayif kabir

Reputation: 726

You need to add # before -- coding: utf-8 -- this in line. Try using this in your code

 #-*- coding: utf-8 -*- 

Upvotes: 2

Related Questions