Install and configure your Python code to run on a Secure Agent machine. Configure tasks such as setting the advanced session property and installing the Python packages.
You can't create a custom Python installation when you use a serverless runtime environment, so these steps don't apply.
To install and configure Python, complete the following tasks:
To allow the Python transformation to use third-party libraries, make sure that the runtime environment has access to an installation of Python and the referenced resource files.
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 installation directory.
Set environment variables to allow the Secure Agent machine access to the installation.
Verify the installation contains the correct folders.
For custom installations, install the str2bool library.
If your installation uses third-party libraries, install them.
Copy the installation to the Secure Agent machine.
If your installation uses third-party libraries, verify their installation.