SST 10 Python Configuration Details

SST uses Python2 by default, if it is installed on the platform.

If you have both Python2 and Python3 installed on your machine and wish to use Python3, you must tell SST which python installation to use during SST Core configuration.

If multiple python versions are installed in the same directory, you must configure as follows:

./configure –-with-python=/usr/bin/python3-config

Here /usr/bin/ should be replaced with the path to python3-config on your machine. Note that the executable needs to be python3-config (or python-config) NOT python3 (or python).

If python3 is installed in its own directory, for example, /home/python3/bin/python3-config, you may alternately specify just the top level install directory, such as:

./configure –-with-python=/home/python3