Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] FotoKilof gui for Imagemagick



raroof@example.com writes:

 > SyntaxError: Non-ASCII character ‘\xc5’ in file setup.py on line 9,
 > but no encoding declared;
 > see http://python.org/dev/peps/pep-0263/ for details.

My guess is that root's default python is Python 2.  Python 3 defaults
to UTF-8, and the first non-ASCII character in the file is a UTF-8
leading byte, so it should not cause this error in Python 3 in the
absence of a declared encoding, but the error denies there is one.

You say that "python" claims to be Python 3, but what does "sudo
python" say?



Home | Main Index | Thread Index