2

I just installed Python3 and Komodo. I'm trying to run a simple script but am getting the error that the py: command not found. I'm completly new to both Komodo and Python so don't know where to look. I saw a another post with the same problem but not a solution that helped. I have Python3 installed and verified from terminal command. Any help is greatly appreciated!

gpxlcj
  • 367
  • 4
  • 14
Mitch
  • 145
  • 1
  • 2
  • 4

2 Answers2

7

You are trying to run your script using py which is not a valid command on your system, hence the error. Try:

python3 script.py
sla3k
  • 209
  • 1
  • 4
  • The training video I was watching said that py was a special command to run the python interpreter. Whatever that means. I replaced py with python3 and it worked fine. Not sure what the video was trying to do. Thanks for the help! – Mitch Nov 09 '18 at 23:32
  • 2
    Author must be using Windows OS because `py` is just a wrapper around `python` command in Windows systems. – sla3k Nov 10 '18 at 02:55
1

Try replacing py"%F" with python3 %F when you create the run command.

Robert Columbia
  • 6,313
  • 15
  • 32
  • 40
jam
  • 11
  • 1