gameoflifemaniac wrote:Now I downloaded the right version of Python (2.7.13), but it gives me the same error:
The Python library does not have this symbol:
Py_InitModule4
What to do?
gameoflifemaniac wrote:Oh, I'm so sorry, I downloaded Python 2.7.11. And the ZIP file was called golly-2.8-win-32bit.
gameoflifemaniac wrote:But to make it work, what way should I select the features to be installed?
gameoflifemaniac wrote:Shit. I have 2.7.13, and it STILL doesn't work!
gameoflifemaniac wrote:3)I found the DLL file in the folder 'Python27'...
gameoflifemaniac wrote:And, I found also the Python 3.4 file, even when I uninstalled it.
gameoflifemaniac wrote:And, when I tried to run a Python script in the new Golly 3.0 version, it again showed this 'Could not load Python library' thingy, I typed in the correct path to the python27.dll file 'This computer\Windows (C:)\Python27\python27.dll' .......................................................(translated from Polish)
and it didn't work! Why?
gameoflifemaniac wrote:1) golly-3.0-win-64bit.zip
2) 2.7.13 32-bit. Oh...
EDIT: I already installed the 32-bit version, but did the same and Golly still couldn't load the Python library!
x = 17, y = 10, rule = B3/S23
b2ob2obo5b2o$11b4obo$2bob3o2bo2b3o$bo3b2o4b2o$o2bo2bob2o3b4o$bob2obo5b
o2b2o$2b2o4bobo2b3o$bo3b5ob2obobo$2bo5bob2o$4bob2o2bobobo!
gameoflifemaniac wrote:What version I have to install for Golly 2.8 (that's the version I'm using)?
dvgrn wrote:gameoflifemaniac wrote:What version I have to install for Golly 2.8 (that's the version I'm using)?
It will be the same version of Python for any recent Golly release -- any 2.7.x version should be okay (except there were some problems with 2.7.11 if I remember right).
However, I'm curious as to why you don't go ahead and download Golly 3.2.
If you just click Download from Golly's main page, you'll get the 32-bit version of Golly 3.2 by default. You'll need 32-bit Python 2.7.15 (current Python 2.x stable release, 5/1/2018) to go with that version of Golly. That's the "Windows x86 MSI installer" link on the 2.7.15 page.
With Golly 3.x you also get the ability to run Lua scripts -- with no need for these silly headaches about what version of Python goes with what version of Golly. Lua doesn't need a separate install at all, it Just Works.
Macbi wrote:Is there a "proper" way to update Golly without losing all your files and settings?
Avoid the temptation to put your own patterns, scripts or rules inside Golly's supplied folders — it will make it difficult to upgrade to a future version. A much better idea is to create separate folders for your own files and put those folders alongside the supplied folders, so your Golly folder looks something like this:
Golly
Golly.exe
(Golly.app on Mac, golly on Linux)
Help
Patterns
Rules
Scripts
My-downloads
(contains all your downloaded files; set in Preferences > File)
My-patterns
(contains all your pattern files)
My-rules
(contains all your .rule files; set in Preferences > Control)
My-scripts
(contains all your .lua/.py files)
If necessary, use File > Set File Folder and select the Golly folder. Now all your folders (and the supplied folders) are visible in the file panel, so with just a few clicks you can load any pattern, run any script, or switch to any .rule file. You can also right-click (or control-click) on any of those files to open them in your preferred text editor.
When upgrading to a new version of Golly, Mac users can simply drag all the distributed files and folders into their Golly folder and the old versions will be replaced. On Windows and Linux you'll need to delete the old Help, Patterns, Rules and Scripts folders before dragging in the new folders to avoid ending up with merged versions.
77topaz wrote:The recommendation doesn't appear to work for me: when I load a file, Golly only looks for the rule file in the "Rules" folder, and so can't find rule files in a "My-rules" folder. I suppose I could put my rule files in both "Rules" and a separate folder, but that seems unnecessarily complicated.
My-rules
(contains all your .rule files; set in Preferences > Control)
Users browsing this forum: No registered users and 1 guest