Running Python on Atom


Try the script package, worked for me without modifying PATH- Script for Atom


Have you closed and reopened Atom since installing Python?


The output in the screenshot is script. And whether or not you have to modify the PATH is determined by what you’re installing, not by what Atom package you choose.


Yes I tried using the script package but python wasn’t recognized. The first image has script enabled


Yes I’ve restarted atom and in fact, my whole computer since installing python



Sorry to hear about your troubles.
Please could you try to mimic as exact as possible the following picture:
I have used Window’s Command Prompt application.

Please publish the screen capture of your result.


Problem with Script - Does not recognize Python
'python' is not recognized as an internal or external command

I think all of the common causes are covered, so this will require you to perform some deeper investigation. Fortunately, there’s a package that’s perfect for that. process-palette lets you execute any command from within Atom. You can use a terminal package too, but this one lets you customize a lot of the variables and save all of your configurations. All I want you to do right now is run the commands env and python -v.


Screenshot (18)


Update so it works now and I’m not sure why. I opened a new project folder which may have helped. Thanks everyone for your help


Hi there,

I have also been having the same problem as @littleshow, but when I follow the cmd prompt procedures it shows me this:


I also get the same problem when I try and run programs in Atom.

Any help??


Hey @ukendar-v,

Can you screen capture the image of your environment variable?


Hi @FesterTY

I don’t exactly know how to find the environment variables. Sorry, I’m really new to this!


Here’s where you can find it:

Control Panel > System > Advanced System Setting > Advanced > Environment Variables > System Variables > PATH

From Path, hit edit to see which files you have there.

EDIT: The directory I typed wasn’t complete




I’d suggest you to reinstall Python. This happened to me once, but after reinstalling it, everything went back to normal. Also, make sure you tick Add Python to environment variables in the setup.


Thank you for all the help from this forum - glad to say that I got it working!

So, after some discussion, I had to re-install Python, but also make sure that Python was added to environment variable on installation. Additionally, I disabled the path length limit after installation.


after going through of the same steps as you I find myself with the above issue,please help me.

#23 is not a program. It’s a plain-text script that you need a program to interpret. The command you want is python


hulk was my favorite super hero but now it’s you now.


Thanks for your help. I finally got it to work. You made my day.