Specify directories containing alternative python packages.
directory is one or more paths to valid directories. The maximum length for PythonPath is 1024 characters. By default, no directories listed.
PythonPath specifies the location of alternative Python packages. When searching for packages, InterSystems IRIS features that use Python (such as the %Python Server) check the directories listed in PythonPath.
You may specify multiple directories. On Windows, separate multiple directories using a semicolon; on other platforms, use a colon to separate multiple directories.
Changing This Parameter
On the Advanced Memory page of the Management Portal (System Administration > Configuration > Additional Settings > Advanced Memory), in the PythonPath row, select Edit. Enter one or more directories.
Instead of using the Management Portal, you can change PythonPath 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 the Editing the Active CPF section of the “Introduction to the Configuration Parameter File” chapter in this book).
When you edit this setting, it takes effect immediately. The new path is used for any new processes.