Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need some help.
#1
Hello there. I just bought this book called Python Crash Course by Eric Matthes and literally just 10 pages in and I ran into a problem that I've been trying to solve for about an hour. So the book instructed me to download Python and Genie to which i complied. After that it asks me to open genie, save an empty python file by naming it:
hello_world.py

and save it in a folder. From there the book asked me to type:
print("Hello Python World!")
and then execute it. It seems very simple but when I tried executing it, it game the the following error:
'python' is not recognized as an internal or external command,
operable program or batch file.


------------------
(program exited with code: 9009)

I am super confused at this point and have no idea what to do since I have zero programming experience. Does anyone know what this means? Please and thank you!
Reply
#2
Do you know where Python is installed? Open Geany and in Build menu click on "Set build commands" in the Command column replace the path to the Python executable. You have to do it in two places

https://prnt.sc/lbn1a0

Just 'python' works for me.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#3
Check our tutorial on How to install Python on Windows
https://python-forum.io/Thread-Basic-Par...er-Windows
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#4
(Oct-29-2018, 04:59 AM)wavic Wrote: Do you know where Python is installed? Open Geany and in Build menu click on "Set build commands" in the Command column replace the path to the Python executable. You have to do it in two places https://prnt.sc/lbn1a0 Just 'python' works for me.
Yeah turns out that when i installed python, I didn't click the box to create a path for it. I uninstalled it and installed again checking the box and it's good now. Thanks though.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020