You have smart quotes!
Perhaps you typed your source code into a word processor, or copied it from a website with bad auto-formatting. Either way, just replace them with straight quotes (the "
character).
Python 2 complains that the smart quotes are not part of ASCII. Python 3 is okay with non-ASCII characters but complains that they aren't the expected kind of quotes. Either way, the solution is the same.