Skip to main content
To use Python in , install the following dependencies on the server that hosts the application.
  • Python 3: Download and install a supported Python release (3.10 or later) from the Python website.
  • Java Embedded Python (Jep) 4.2.2: Jep is available from multiple sources, depending on your environment and installation method.
For details about how to use Python scripting in , including script execution, available inputs, and practical examples, see Writing Python. Setting up Python in involves two prerequisite steps: installing Jep and configuring your environment.

Installing Jep for Java

Jep is a library that allows you to embed the Python interpreter into Java applications. It enables two-way integration between Java and Python, which lets Java programs run Python code, share variables, and even call functions across languages. You can find Jep and installation instructions on the Jep GitHub page.
Before you can install Jep, you need to install pip.
  • For Debian/Ubuntu-based distributions, pip can typically be installed using the following command:
  • For other distributions, see the appropriate documentation for pip installation.
Once Python and pip are installed, use the following command to install Jep:
On some Linux distributions, pip might install Jep to /usr/local/lib64/python3.*/site-packages/jep/ rather than the expected PythonHome/lib/site-packages/jep/ path. If cannot locate Jep automatically, set the LibraryPath environment variable to point to the actual Jep installation directory.

Configuring Your Environment

To configure your environment, set the PYTHONHOME environment variable to the root directory of your Python installation. This variable directs to the Python interpreter on your system.