+1 vote
13 views

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

in Server by (10.2k points) | 13 views

1 Answer

0 votes

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

 #-*- coding: utf-8 -*- 
by (8.6k points)
192 questions
163 answers
32 comments
38,831 users