daniel-kukiela / nmt-chatbot

NMT Chatbot
GNU General Public License v3.0
385 stars 212 forks source link

Non-ASCII character '\xe2' #119

Closed paperbenni closed 4 years ago

paperbenni commented 5 years ago

I'm trying to run this on google colab (python 3.6) and the prepare_data script exist with the following:

File "setup/prepare_data.py", line 512
SyntaxError: Non-ASCII character '\xe2' in file setup/prepare_data.py on line 512, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

I'm pretty sure that it's a bug, can anyone help me?

paperbenni commented 5 years ago

ok turns out I might be an idiot. The python 3 environment on there has the python command set to python 2, so it's pip3 and everything I'm used to having python 3 as the python command in arch. Leaving this here in case anyone else spends hours figuring this out.