On Thu, 27 Jul 2023 at 21:04, Little Girl via Users users@lists.geany.org wrote:
Hey there,
dunbrokin--- via Users wrote:
Yet when I execute it (using Build execute) I get the following output: /tmp/geany_run_script_PRBZ81.sh: 7: python: not found
(program exited with code: 127)
I don't know anything about compiling Python macros, but this message happens because we no longer use the "python" command and are, instead, using the "python3" command. To fix it:
- Open a Python file in Geany.
- Open the "Build" menu.
- Choose "Set Build Commands" from the menu.
- Check which command is shown in the "Command" column in the
"Execute" row. 5. If it says this: python "%f" Edit it and change it to: python3 "%f" 6. Click the "OK" button.
That should do it.
The question is why does the python compile work but not the execute?
Did the OP change compile but not change the execute for some reason?
Or is there an issue of PATH due to the different ways compile commands and execute commands are run.
And anyway, why did the distro packager not use --with-python-command=... when building the package so it will work for their users (Geany 1.38 or later but the OP didn't say what version they had)?
ahh well [end rant]
-- Little Girl
There is no spoon. _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org