Skip to main content

PythonRuntimeLibraryVersion

Specify the version number of the runtime library to use when running Embedded Python.

Synopsis

[config]    PythonRuntimeLibraryVersion=version

version is the version number of the Python runtime library to be used for Embedded Python. By default, no version is listed.

Description

PythonRuntimeLibraryVersion specifies the version number of the Python runtime library to use when running Embedded Python.

For example: PythonRuntimeLibraryVersion=3.11

This parameter is required in order to use Embedded Python on InterSystems IRIS 2024.2 and higher on Windows. This parameter is recommended on all other platforms.

Note:

See Flexible Python Runtime Feature for more information on configuring the version of Python to be used for Embedded Python.

See Other Supported Features for information on which platforms Flexible Python Runtime is available.

Changing This Parameter

On the Advanced Memory page of the Management Portal (System Administration > Configuration > Additional Settings > Advanced Memory), in the PythonRuntimeLibraryVersion row, select Edit. Enter the version number of the Python runtime library you want to use.

Instead of using the Management Portal, you can change PythonRuntimeLibraryVersion in the Config.configOpens in a new tab class (as described in the class reference) or by editing the CPF in a text editor (as described in Editing the Active CPF).

When you edit this setting, it takes effect immediately. The new runtime library is used for any new processes.

FeedbackOpens in a new tab