PythonRuntimeLibrary
Synopsis
[config] PythonRuntimeLibrary=library
library is the absolute path and filename of a Python runtime library. The maximum length for PythonRuntimeLibrary is 1024 characters. By default, no library is listed.
Description
PythonRuntimeLibrary specifies the location of the Python runtime library to use when running Embedded Python.
This location will vary based on your operating system, Python version, and other factors.
Windows example: C:\Program Files\Python314\python3.dll (Python 3.14 on Windows)
Linux example: /usr/lib64/libpython3.12.so.1.0 (Python 3.12 on Red Hat 9 on the x86 architecture)
See Configure InterSystems IRIS to Use Embedded Python for more information on configuring the version of Python to be used for Embedded Python.
See Embedded Python Support for information on what versions of Python have been tested for use for Embedded Python.
Changing This Parameter
On the Advanced Memory page of the Management Portal (System Administration > Configuration > Additional Settings > Advanced Memory), in the PythonRuntimeLibrary row, select Edit. Enter the location of the Python runtime library you want to use.
Instead of using the Management Portal, you can change PythonRuntimeLibrary 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.