Toolkits > com.ibm.streamsx.topology 1.5.13.__dev__ > com.ibm.streamsx.topology.python > Executing applications using Python > PYTHONHOME
The location of Python at runtime is defined by the environment variable PYTHONHOME. The location at runtime can be different to the location used when compiling the Streams application containing Python code.
streamtool setproperty --application-ev PYTHONHOME=/opt/anaconda3
export PYTHONHOME=/opt/anaconda3
The application will use PYTHONHOME to locate the Python shared library as follows: