apgsearch v1 error

For general discussion about Conway's Game of Life.
Post Reply
danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm

apgsearch v1 error

Post by danieldb » October 5th, 2015, 6:13 pm

I know this is probably very common, but since I don't know python at all, I keep getting an error:

line 46, in <module>
from glife import rect, pattern
ImportError:No module named glife

How do I fix?

User avatar
biggiemac
Posts: 515
Joined: September 17th, 2014, 12:21 am
Location: California, USA

Re: apgsearch v1 error

Post by biggiemac » October 5th, 2015, 7:32 pm

That happens when you try to run a Golly python script from python directly. Unfortunately for apgsearch, Golly's base code requires that python scripts which import from glife be executed from within Golly.

This problem was remedied in apgnano, so if you're only looking to contribute C1 standard-Life searches I would recommend switching to apgnano. But if you are hoping to run other symmetries/rules, you just have to run the apgsearch script using Golly, where python will find the glife module.

Hope this helps!
Physics: sophistication from simplicity.

Post Reply