Golly 3.3 + Python 3 doesn't work on Linux Debian 12 [Solved]

For scripts to aid with computation or simulation in cellular automata.
Post Reply
User avatar
Tawal
Posts: 245
Joined: October 8th, 2023, 7:20 am

Golly 3.3 + Python 3 doesn't work on Linux Debian 12 [Solved]

Post by Tawal » 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.
Last edited by Tawal on December 24th, 2023, 8:46 am, edited 1 time in total.
Alone we go faster … Together we go further …

Avatar's pattern
Possible uses found by Dave Green
Jormungant's explanation and uses

Currently investigating signal collisions … (stand by)

User avatar
wirehead
Posts: 253
Joined: June 18th, 2022, 2:37 pm
Location: fish: wirehead: command not found
Contact:

Re: Golly 3.3 + Python 3 doesn't work

Post by wirehead » December 23rd, 2023, 5:06 pm

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."
Langton's ant: Can't play the drums, can be taught.

User avatar
Tawal
Posts: 245
Joined: October 8th, 2023, 7:20 am

Re: Golly 3.3 + Python 3 doesn't work on Linux Debian 12

Post by Tawal » December 24th, 2023, 8:45 am

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" ;)
Alone we go faster … Together we go further …

Avatar's pattern
Possible uses found by Dave Green
Jormungant's explanation and uses

Currently investigating signal collisions … (stand by)

Post Reply