SOLVED! I was running a different NEST simulation and accidentally called the simulation
with python sim.py instead of python3 and it threw me the same error. I then saw that
'python' is used in the build.sh file so I replaced it with 'python3' and
it worked. Thanks for taking the time to write to me and I hope if anyone else has this
issue with python versioning, this thread might help. :)