foreshadow / atom-python-run

A simple atom package. Press one key to run your python code in atom.
https://atom.io/packages/atom-python-run
MIT License
44 stars 32 forks source link

error code when i press F5 #107

Closed LazaroProdigy1 closed 5 years ago

LazaroProdigy1 commented 5 years ago

i type in a command as simple as print('hello') then press F5 to run and my computer says it cant find Python

ghost commented 5 years ago

I too am experiencing this issue. example code: name = John print(name)

I get the following error: "Windows cannot find 'python'. Make sure you typed the name correctly, and try again."

error occurs upon running the code.

running version 1.35.1 of Atom (latest) on Windows 10 version 1803

vmbrink commented 5 years ago

I am having the same issue, and I even added Python to both my user path and my system path environment variables and it's still not working

ghost commented 5 years ago

I seem to have fixed, I started by uninstalling everything (python and Atom)and then re-installing python to "C:\Python3.7". Not choosing quick install but manually selecting all the options and path.

I tested by running 'python' in my command prompt to make sure it was found on my system and then installed Atom. If I now press F5 it opens up the Python IDE and runs the script.

I feel so dumb for not trying this sooner.