On Thu, 27 Jul 2023 at 17:07, dunbrokin--- via Users <[email protected]> wrote: > > I have just written my first python macro (in fact my first macro)...when I > compile it in Geany (using Buld Compile), I get the answer /usr/bin/python3 > (in directory: > > /home/yodap/.config/libreoffice/4/user/Scripts/python/PythonLibray) > Compilation finished successfully. > > Yet when I execute it (using Build execute) I get the following output: > /tmp/geany_run_script_PRBZ81.sh: 7: python: not found
You have a PATH problem. That can be complex to debug. Probably simplest to use `Set Build Commands` to change the execute command to the full path `/usr/bin/python3`. Cheers Lex > > ------------------ > (program exited with code: 127) > > What have I done wrong?...and how can I fix it please! > _______________________________________________ > Users mailing list -- [email protected] > To unsubscribe send an email to [email protected] _______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected]
