From: Andrew T. <an...@tr...> - 2013-02-13 21:54:16
|
Mark: > I can't run scripts anymore, and the Python I used in the past > (python24.dll) is not on my system anymore because it was part of > another application that upgraded to Python 3.1 and I didn't keep a > backup. > > I tried Python 2.6, Python 2.7, WinPython 2.7 and Python 3.1 all > without success. As Maks said, you can only use Python 2.* with Golly, and you have to install a Python with the same bit size as your Golly. I'd recommend these steps: - Download the Python 2.7.3 Windows installer from http://www.python.org/download/ (get the 32-bit version if your Golly is 32-bit, or the 64-bit version if Golly is 64-bit). - Run the installer and search your system for where it puts python27.dll. I've been told the 64-bit installer puts it in C:\Windows\System32\ and the 32-bit installer puts it in C:\Windows\SysWOW64\ (not very intuitive!). - Edit your GollyPrefs file and try setting python_lib=python27.dll - Save GollyPrefs, start up Golly and try to run a .py script. If you get the dialog that says the Python lib can't be found then enter the full path; eg. C:\Windows\System32\python27.dll or wherever the correct python27.dll file is on your system. If that fails, I've really got no idea what's going wrong! Andrew |