Patches/10.4

Revision as of 19:26, 23 January 2024 by Modeller Caretaker (talk | contribs) (Protected "Patches/10.4" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


The patches below can be applied to Modeller 10.4 to fix some minor problems. (Use the Unix patch command, or apply them by hand.)

💡 The patches are listed in chronological order (oldest first), so you should apply them in this order to avoid problems.

  • Python 3.12 support: Python 3.12 was released after Modeller 10.4, but it is largely compatible with Python 3.11, so it can be made to work with Modeller without much effort:
    • 64-bit Windows: download w64_py312_modeller.pyd, go to the directory you installed Modeller in (C:\Program Files\Modeller10.4 by default), go into the lib\x86_64-w64 subdirectory, make a new subdirectory called python3.12, and put the file in there and call it _modeller.pyd. Open Registry Editor, make a new key called HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.12\PythonPath\Modeller10.4 and make it identical to the existing HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11\PythonPath\Modeller10.4 key.
    • 32-bit Windows: as for 64-bit Windows, but download w32_py312_modeller.pyd instead and put it in the lib\i386-w32\python3.12 subdirectory. The registry key should be called 3.12-32 rather than 3.12.
    • Unix tarball: follow the installation instructions for Python 3.11 - they are identical for Python 3.12.

There are currently no patches for 10.4