Python problems
Python problems
I moved to a new computer, 64-bit windows 7, and tried to run python scripts, (two versions of apgsearch-hacked and life-integer-gun30) but it closes out of golly. I think I might have the wrong python27.dll file, so a file would be helpful.
Re: Python problems
I've been meaning to bring this up on golly-test -- thanks for the reminder. If you installed the latest 64-bit Python -- 2.7.11 -- then you're seeing the same behavior I've just seen on a new 64-bit Windows 7 laptop.drc wrote:I moved to a new computer, 64-bit windows 7, and tried to run python scripts, (two versions of apgsearch-hacked and life-integer-gun30) but it closes out of golly. I think I might have the wrong python27.dll file, so a file would be helpful.
I uninstalled 2.7.11 and installed 64-bit Python 2.7.6, and that worked fine.
I seem to recall that Python 2.7.8 worked fine with Golly as well -- maybe try that one, and then fall back to 2.7.6 if necessary? Somewhere between there and 2.7.11 Python starts doing something that Golly doesn't expect... Let me know if 2.7.8 works, or 2.7.6, or if you still have problems.
Re: Python problems
Just downloaded 2.7.6, I keep entering the location of the python27.dll file but it doesn't recognise it.dvgrn wrote:I've been meaning to bring this up on golly-test -- thanks for the reminder. If you installed the latest 64-bit Python -- 2.7.11 -- then you're seeing the same behavior I've just seen on a new 64-bit Windows 7 laptop.drc wrote:I moved to a new computer, 64-bit windows 7, and tried to run python scripts, (two versions of apgsearch-hacked and life-integer-gun30) but it closes out of golly. I think I might have the wrong python27.dll file, so a file would be helpful.
I uninstalled 2.7.11 and installed 64-bit Python 2.7.6, and that worked fine.
I seem to recall that 64-bit Python 2.7.8 worked fine with Golly as well -- maybe try that one, and then fall back to 2.7.6 if necessary? Somewhere between there and 2.7.11 Python starts doing something that Golly doesn't expect... Let me know if 2.7.8 works, or 2.7.6, or if you still have problems.
Re: Python problems
Huh. Are you sure you downloaded the 64-bit version of Golly, and not the default 32-bit one? That's the main thing I can think of offhand that would cause that.drc wrote:Just downloaded 2.7.6, I keep entering the location of the python27.dll file but it doesn't recognise it.
EDIT: Just noticed that I mis-copied the link to 2.7.8 -- it was pointing to a Python 3.4 download. Fixed it in the previous message. Installing one of those Python 3.x's also causes the same Golly-doesn't-like-your-Python symptom, I believe.
We really probably ought to figure out how to give better error messages when the DLL is present but not compatible with Golly.
Re: Python problems
Downloaded 64-bit golly, tried 2.7.6 and it didn't work. Tried 2.7.8 and it was missing the DLL file.dvgrn wrote:Huh. Are you sure you downloaded the 64-bit version of Golly, and not the default 32-bit one? That's the main thing I can think of offhand that would cause that.
EDIT: Just noticed that I mis-copied the link to 2.7.8 -- it was pointing to a Python 3.4 download. Fixed it in the previous message. Installing one of those Python 3.x's also causes the same Golly-doesn't-like-your-Python symptom, I believe.
We really probably ought to figure out how to give better error messages when the DLL is present but not compatible with Golly.
EDIT: Fixed! I found one in system32 that works fine.