I uninstalled Python 3.12, then downloaded and installed Python 3.13.2. When I try to run a programm I get the following errors
No Python at 'C:\Users\ZACKAMATA\AppData\Local\Programs\Python\Python39\python.exe'
(env) C:\Users\ZACKAMATA\Documents\Learn Python\Django\Code with Stein\Puddle\puddle>python3 manage.py
runserver
'python3' is not recognized as an internal or external command,
operable program or batch file.
What should I do to get Python working on my machine?
I have encountered this issue a few time previously.
In addition to @cliff688 response, consider the following also if the issue persist.
If you’re using a virtual environment, you need to update the pyvenv file so it points to the path where your latest version of python is installed. In my case, it looks like this:
The second reason could be that your code editor is configured to find the python 3.12 and not the latest one. If your using a virtualenv, your code editor need to point to that version.
The third and last reason I know of is that python is not in your OS path. Add it and it should work.
@abbasj, thank you ever so much. I will try what you have suggested. I really do appreciate. Some folks ask me “Hey you are 74 years old. What are you learning Python, Django, SQl and JavaScript for. What are you gonna gain and benefit from learning programming. You aint gonna get no job.” And I just look at them and say…“The thousands of Eagles fans all over the country, what did most of them benefit from the Eagles winning the Super Bowl LIX?” So I really appreciate those who help me to learn Django and Python and Pandas and C# and unity Game Engine. Instead of taking a swig of beer I learn things like List Comprehensions, Django and Pandas. It keeps me happy!!
Hi @abbasj, I tried what you suggested. I went to the pyvenv config file and changed the path to look for Python 3.13. And what do you know …it Worked!!! Thanks
Well, peoples opinions and words reflect the degree of their understanding of the world and them selfies. Don’t mind them and enjoy coding and most importantly, learning