Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding Error / Question #536

Open
npcrites opened this issue Apr 25, 2023 · 1 comment
Open

Encoding Error / Question #536

npcrites opened this issue Apr 25, 2023 · 1 comment

Comments

@npcrites
Copy link

npcrites commented Apr 25, 2023

Hi Mike - I'm running into a bit of an issue on the Twitter_coronavirus assignment. When I attempt to run run_map.sh, I'm being thrown encoding errors in my output file. Here is the specific return:

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

I've visited the website listed, but am unsure of the correct encoding, I tried utf-8, but was unsuccessful. Does anyone have any insight here?

@mikeizbicki
Copy link
Owner

Most likely you are running the file with python2 instead of python3.

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

No branches or pull requests

2 participants