1๐
โ
I was having the EXACT same issue. I am using Pycharm on a windows PC. What I was doing was dropping in to a terminal session by going to tools>open terminal, and running the populate_rango.py from there.
I was getting the same issue until I ran it by right clicking on the file (populate_rango.py) from within pycharm and selecting run. See screen shotL
๐คmild0d
Source:stackexchange.com