Configuring the Python Interpreter on a Linux Computer
Before running the Python interpreter on a Linux computer running
the node manager, first you must set the
LD_LIBRARY_PATH
environment variable so that the Python
interpreter can start up properly.
Before you begin
- You must have administrator privileges on the Linux computer running the node manager.
- On the Linux computer running the node manager, navigate to PYTHON_SERVICE_HOME and make a note of the service name. (For example, Python Service Linux-<n.nn.n.nn-guid>.)
About this task
Perform this task from a bash shell on the Linux computer running the node manager.
Procedure
Export the environment variable and set the environment variable
path to
$PYTHON_SERVICE_HOME/python/lib
.
export LD_LIBRARY_PATH="/opt/tibco/tsnm/<version.n.n-nnn>/nm/services/
Python Service Linux-<n.nn.n.nn-guid>/python/lib"
Results
Parent topic: Configuring Spotfire Service for Python
Related concepts