mikeizbicki / cmc-csci046

CMC's Data Structures and Algorithms Course Materials
52 stars 152 forks source link

Encoding Error / Question #536

Open npcrites opened 1 year ago

npcrites commented 1 year ago

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 commented 1 year ago

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