Question

Under the Build menu, I can see 'Execute' option, but it is greyed out.

The only option available is 'Set Includes and Arguments'. When I click that both fields are already filled out. What do I have to write there?

alt text

Was it helpful?

Solution

I don't need to configure anything in geany, I just hit F5 and current module is executed.

Are you sure, that your file is recognized as python source file? Which version of geany are you using (I am using svn version, which is pretty stable, damn, it's rock solid stable ;-))? I have slightly more developed configuration for python compilation in my version, but the commands are the same and it works very well.

OTHER TIPS

I had the same problem and found the following solution:

in the 'Build Options' dialogue click on '_Execute' at the bottom of the Dialogue and the _execute options become editable.

I put the full path name to my Python install in there (C:\Python27\python %F) or (C:\Python32\python %F) and it seems to work just fine.

Also Don’t forget to set the “KeyBinding” ie the keyboard Shortcut-key (single or combination) you press to activate “Run, Execute , Compile, Save, Find, Print etc...

To do so; Edit -> Preference ->Keyboard Shortcuts. Here you can Choose/Change any Key/s to map to any Action you want.

Why? Because some other Linux Program might have overridden, or might have taken the default Geany assigned map Key/s

You need to set the path variables in the beginning. Or you need to set the variables in Build > set build commands .

This video can give you good clarity.

https://www.youtube.com/watch?time_continue=428&v=5xGiSaRqroQ

Your compile path is lookin fine. But in the execution path give the full path of your python.exe. In my case it is..

c:\python27\python "%f"

For some unknown reason new installed Geany at Ubuntu 19.04 had python "%f" at Build -> Set Build Commands -> Execute default settings. Solved similar issue with python3 "%f" instead.

1> find the python console path.

2>now set environment variable

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top