abisdad created an issue (geany/geany#4295)

Hi,

Just installed lubuntu (Ubuntu 24.10) running LXQt V2.0.0 QT V6.6.2 on an old 
laptop to give to a kid so he can learn Python.

Then installed Geany Pryce, (built on or after 2024-03-31) Using GTK+ v3.24.43 
and GLib v2.82.1 runtime libraries.

Opened it up and tried to run a quick Hello World in Python, but got this 
message:

```
/tmp/geany_run_script_MVLB52.sh: 7: python: not found
------------------
(program exited with code: 127)
```

First thing I worked out was that it needed a .py in the filename, which I 
manually added. (Still haven't worked out how to do this automatincally - which 
I believe is possible...) but then this still didn't fix the problem.

If I typed:
`python3 Hello\ World.py`
It worked fine!

Eventually I dicovered that if I changed the:
Build > Set Build Commands > Execute Command to
`python3 "%f"`
instead of 
`python "%f"`
It worked!

I've created this as a New Issue as I almost just installed another IDE, but 
since the fix is so simple, it needs to be documented or fixed.

Thanks,

Rob.



-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4295
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/[email protected]>

Reply via email to