(Update for 10.4 release)
(Add Python 3.12 support)
Line 4: Line 4:


💡 The patches are listed in chronological order (oldest first), so you should apply them in this order to avoid problems.
💡 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 [https://salilab.org/modeller/archive/patch-10.4/w64_py312_modeller.pyd w64_py312_modeller.pyd], go to the directory you installed Modeller in (<code>C:\Program Files\Modeller10.4</code> by default), go into the <code>lib\x86_64-w64</code> subdirectory, make a new subdirectory called <code>python3.12</code>, and put the file in there and call it <code>_modeller.pyd</code>. Open Registry Editor, make a new key called <code>HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.12\PythonPath\Modeller10.4</code> and make it identical to the existing <code>HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11\PythonPath\Modeller10.4</code> key.
** 32-bit Windows: as for 64-bit Windows, but download [https://salilab.org/modeller/archive/patch-10.4/w32_py312_modeller.pyd w32_py312_modeller.pyd] instead and put it in the <code>lib\i386-w32\python3.12</code> subdirectory. The registry key should be called <code>3.12-32</code> rather than <code>3.12</code>.
** 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''
''There are currently no patches for 10.4''

Revision as of 19:40, 30 October 2023


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


Patches for old versions: 10.3; 10.2; 10.1; 10.0; 9.25; 9.24; 9.23; 9.22; 9.21; 9.20; 9.19; 9.18; 9.17; 9.16; 9.15; 9.14; 9.13; 9.12; 9.11; 9.10; 9.9; 9v8; 9v7; 9v6; 9v5; 9v4; 9v3; 9v2; 9v1; 8v2; 8v1