Setting up Python Scripting

There are some prerequisites that you must perform before developing your Python scripts.

Prerequisites

This section assumes that you have an understanding of the Python language, and common development practices associated with it.

Procedure

  1. Install Python. You can verify the installation by typing python at the command prompt on a Windows machine and python3 in a shell on a UNIX machine.
    Caution: TIBCO Enterprise Administrator uses the pip module that is packaged with Python 3.4.1. If you are using an earlier version of Python, install the pip module.
  2. Install the requests module needed to make the HTTP calls. At the command prompt, navigate to <PYTHON_HOME>\scripts, and install the module using the following command:pip install requests
  3. Enable the Python module for TIBCO Enterprise Administrator by setting the PYTHONPATH environment variable to <TIBCO_HOME>\tea\<version>\python.
  4. Ensure that the TIBCO Enterprise Administrator server is running.