I have Komodo Edit v9.0.1 nightly and Python 3.4.3. Both were downloaded from their websites this morning (27 April 2015) and installed on Windows 7 64-bit without issue.
I added the
C:\python34\ path to my user path system variable and verified that it shows up as set correctly if I run
echo %PATH% at the command prompt.
In Komodo Edit > Preferences I also checked the path shows correctly in Environment, I set the *.py file extension to the Python 3 language in File Associations. Specified Python3 as the default language in File Opening. Python3 is selected under Languages and Find on Path is set in Languages > Python 3. Under Windows Integration the .py extension is added for Default Editor and Edit with Komodo.
I created a new project in a folder on my desktop (there are no spaces in the path to this directory, nor in the project name). I added a file to the project from template, selecting Python3 as the type and using the .py extension.
The file automatically had the correct shebang in it and I added a simple print instruction to yield a file contents of:
#!/usr/bin/env python3 print("Hello")
I added a command to the toolbox with a name ‘Build Python’ and the command
%(python) "%F" with nothing else in the command box selected or ticked.
When I double click the command in the toolbox pane, or attempt to run it using a key binding I receive the following error:
Error running command [Build Python]: This command string includes ‘%(python)’, but no ‘python’ interpreter could be found. You can configure this by visiting the Python preferences panel in Edit->Preferences.
Python works fine from the prompt and IDLE.
I have attempted this on a separate Windows 7 32-bit machine also, with the same result. How do I make the darn command work?
EDIT: Also now tried adding PYTHONPATH environment variable. No change.
Also tried altering the command through the following permutations
%(Python) -u "%F"
"%(Python)" -u "%F"