+1 vote
89 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.5k points) | 89 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.8k points)
202 questions
179 answers
35 comments
163,697 users