I am trying to use Geany on my iMac and getting error code 126 when trying to execute. Any help would be appreciated. Hank
On Thu, 27 Oct 2022 at 05:54, Henri Pollard hpollard058@gmail.com wrote:
I am trying to use Geany on my iMac and getting error code 126 when trying to execute. Any help would be appreciated. Hank
You have to provide more information, what are you trying to execute? Or do you mean Geany does not run?
Cheers Lex
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Hi Lex, thanks for your help, I’m new to programming and just trying to execute a simple program using geany/python When I execute, with geany, I get the 126 error. Hank
Hank Pollard h.pollard058@gmail.com
On Oct 26, 2022, at 4:07 PM, Lex Trotman elextr@gmail.com wrote:
On Thu, 27 Oct 2022 at 05:54, Henri Pollard hpollard058@gmail.com wrote:
I am trying to use Geany on my iMac and getting error code 126 when trying to execute. Any help would be appreciated. Hank
You have to provide more information, what are you trying to execute? Or do you mean Geany does not run?
Cheers Lex
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Hi Henri, a quick Google search tells me that "error 126 https://www.google.com/search?q=error+126+python" is probably related to your local python installation. Have you tried running your python script outside of Geany? Please send the output you see or a screenshot. That would help us help you.
Kind regards, -- *Lucas Vieites* Blog @ codexion.com https://blog.codexion.com/ LinkedIn https://www.linkedin.com/in/lucasvieites
On Thu, Oct 27, 2022 at 1:23 AM Henri Pollard hpollard058@gmail.com wrote:
Hi Lex, thanks for your help, I’m new to programming and just trying to execute a simple program using geany/python When I execute, with geany, I get the 126 error. Hank
Hank Pollard h.pollard058@gmail.com
On Oct 26, 2022, at 4:07 PM, Lex Trotman elextr@gmail.com wrote:
On Thu, 27 Oct 2022 at 05:54, Henri Pollard hpollard058@gmail.com
wrote:
I am trying to use Geany on my iMac and getting error code 126 when
trying to execute. Any help would be appreciated.
Hank
You have to provide more information, what are you trying to execute? Or do you mean Geany does not run?
Cheers Lex
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
On Thu, Oct 27, 2022 at 10:55 AM Lucas Vieites lucas.vieites@gmail.com wrote:
Hi Henri, a quick Google search tells me that "error 126 https://www.google.com/search?q=error+126+python" is probably related to your local python installation. Have you tried running your python script outside of Geany? Please send the output you see or a screenshot. That would help us help you.
Yes, I also suspect this is what's happening. By default, macOS doesn't ship with python interpreter any more. You can either install it from the official python page or by installing XCode. Since I use XCode anyway, I only have experience with the XCode version. The XCode version doesn't provide the "python" program, just "python3" so you also have to change the execute command to "python3" in Geany.
Hope it helps.
Jiri
Hey there,
Henri Pollard wrote:
Hi Lex, thanks for your help, I’m new to programming and just trying to execute a simple program using geany/python When I execute, with geany, I get the 126 error. Hank
That seems to be a permissions problem:
https://askubuntu.com/questions/370163/geany-permission-denied
https://ubuntuforums.org/showthread.php?t=1671037
On Sat, 29 Oct 2022 at 21:03, Little Girl littlergirl@gmail.com wrote:
Hey there,
Henri Pollard wrote:
Hi Lex, thanks for your help, I’m new to programming and just trying to execute a simple program using geany/python When I execute, with geany, I get the 126 error. Hank
Weird, I didn't get this message, maybe the email bot got tired.
That seems to be a permissions problem:
https://askubuntu.com/questions/370163/geany-permission-denied
1. the OP is on mac, not ubuntu, not sure if shebangs work there, but if they do then yeah the file needs to be executable if its invoked directly, but
2. Geany's execute runs 'python "%f"' where %f will be the current filename. When run that way the file does not need to be executable, so the permission thing is weird.
Lex
-- Little Girl
There is no spoon. _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org