If needed, install and configure Python to run code to run on a Secure Agent
machine.
Informatica packages a default Python version in the Secure Agent installation. If this version
meets your needs, you can use it without further configuration. If you need third-party
libraries or a specific version of Python, install and configure a custom Python
installation.
You can't create a custom Python installation
when you use a serverless runtime environment.
To install and configure Python, complete the following tasks:
Install the prerequisite packages on the Secure Agent machine.
Download the version of Python that you want to install on the Secure Agent machine and extract the files.
Prepare the installation directory.
Compile and build the Python installation.
Set environment variables to allow the Secure Agent machine access to the installation.
Verify the installation contains the correct folders.
Install the str2bool library and any additional
third-party libraries.
Copy the installation to the Secure Agent machine.
If your installation uses third-party libraries, verify their installation.
Configure the mapping task to use the custom
Python installation.