I run my python code like this:
What Atom package are you using to run this code? You should probably ask that question at the github repository for that package.
I am using atom-script package .
Here are instructions for finding the Issues list for any Atom package: