I’m no expert in these things, but I notice that you have “python3” in the Execute command box, but “python -m py_compile” in the Compile command box. Should the compile command read “python3 -m py_compile”?

 

Virgil

 

From: dunbrokin via Users
Sent: Monday, July 31, 2023 6:10 AM
To: Geany general discussion list
Cc: dunbrokin
Subject: [Geany-Users] Re: New Project Confusion

 

Thanks for that....but it was already set at python3

 

 

On Mon, Jul 31, 2023 at 8:09 PM Lex Trotman via Users <users@lists.geany.org> wrote:

 

 

...

 

Yes, thanks for that. Mostly I will be running them through LibreOffice....but I will occasionally run one through Geany....for example the following one....which I seem to be having a problem with,


 

When I compiled it I got an error I did not understand....and yet it seemed to run with no error....but it never printed a result.

I am totally baffled at this.

 

As was explained on a previous reply to you, Ubuntu does not supply a "python" command, it supplies a "python3" command, but they failed to set the default command in the Ubuntu distribution of Geany to "python3", so when Geany tries to run "python" it is not found.

 

You can change the commands with the "Set Build Commands" dialog. 

 

Note:  Geany supports 60+ languages, most of which have different compile/build/execute commands, when setting the commands the current document must be the relevant language, eg one of your python scripts.

 

Cheers

Lex

 

 

Where might I have gone wrong....or where am I misunderstanding Geany.

 

Thank you.

 

...

_______________________________________________
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-leave@lists.geany.org