Mitch
Mitch

Reputation: 195

/bin/sh: python: command not found

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!

Upvotes: 5

Views: 44722

Answers (2)

jam
jam

Reputation: 21

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

Upvotes: 2

sla3k
sla3k

Reputation: 229

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

Upvotes: 9

Related Questions