Skip to content

[Error Fixing] SyntaxError: Non-ASCII character '\xd0' - #15

Open
rifkichaplin wants to merge 2 commits into
markolofsen:masterfrom
rifkichaplin:master
Open

[Error Fixing] SyntaxError: Non-ASCII character '\xd0'#15
rifkichaplin wants to merge 2 commits into
markolofsen:masterfrom
rifkichaplin:master

Conversation

@rifkichaplin

@rifkichaplin rifkichaplin commented Jun 17, 2019

Copy link
Copy Markdown

Description:
python --version
Python 2.7.12

I can't found lib py_translator in my pip package, so I clone this library from github and put it on my python library manually.
my python script needs this library work as well.

Error:
SyntaxError: Non-ASCII character '\xd0' in file /usr/local/lib/python2.7/dist-packages/py_translator/html_translator.py on line 31, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Solving:
http://python.org/dev/peps/pep-0263/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant