Ex.15 Group By and Counts

Hi all,

I am up to EX.15 and having trouble getting python to run the data for this exersise. I was able to unzip all the extra files and got as far as attempting to run python. I am using Bash command line and installed python3 then tried to run ex15.py. I got an error message


Any help with this would be appreciated.

Thank you,

Jon

1 Like

It looks like you’re running Python 3 but I wrote that code for Python 2. Try using Python 2 and report back to me. Also, watch the video to see how I did it. Maybe you’re missing a step?

1 Like