Page 1 of 1
Golly 3.3 + Python 3 doesn't work on Linux Debian 12 [Solved]
Posted: December 23rd, 2023, 2:17 pm
by Tawal
Hello,
As the title tells, I use Golly 3.3 and have Python 3.11.2 installed on Debian 12.
When I try to launch a python script, I get an error : "Unexpected extension in script file ...
Whatever the manner : Run script, Clipboard ...
I also try to put directly the script file in the Golly's script folder
Thanks.
Re: Golly 3.3 + Python 3 doesn't work
Posted: December 23rd, 2023, 5:06 pm
by wirehead
Tawal wrote: December 23rd, 2023, 2:17 pm
Hello,
As the title tells, I use Golly 3.3 and have Python 3.11.2 installed on Debian 12.
When I try to launch a python script, I get an error : "
Unexpected extension in script file ...
Whatever the manner : Run script, Clipboard ...
I also try to put directly the script file in the Golly's script folder
Thanks.
I think the problem is that Golly 3.X is looking for python 2. I have the same problem (32-bit Debian 11, Python 3.12.0, Golly 3.4, but Golly still links Python 2.7.16) TBH if you were to ask any of the Golly developers "how do I get Golly 3.X to link with Python 3?" they would probably just say "You can't, if you want Python 3 you have to install Golly 4.X."
Re: Golly 3.3 + Python 3 doesn't work on Linux Debian 12
Posted: December 24th, 2023, 8:45 am
by Tawal
Thanks for your answer.
Well, I have installed Golly 4.2 (not found on the Debian Packages).
Launch it, try to launch a python script ==> ask for the location of the library (mine :
/usr/lib/x86_64-linux-gnu/libpeas-1.0/loaders/libpython3loader.so)
Then it works
Thanks a lot, I mark the topic "Solved"
