How to resolve "Selected language (Python x.y.z) is not currently available to execute code"?

How to resolve "Selected language (Python x.y.z) is not currently available to execute code"?

book

Article ID: KB0073943

calendar_today

Updated On:

Products Versions
Spotfire Statistica 13.5 and higher

Description

How to resolve "Selected language (Python x.y.z) is not currently available to execute code" in TIBCO Statistica?
User-added image

Issue/Introduction

How to resolve "Selected language (Python x.y.z) is not currently available to execute code" when executing TIBCO Statistica workspace with Python node?

Resolution

If a different version of Python is installed on the machine, click on the gear icon on the Python Node and select Code. From the language, choose the Python version that is installed and re-run the node as shown below :

User-added image

If Python is not installed, download and Install the expected version of Python from : https://www.python.org/downloads/

Install with pip and enable the option to add to PATH environment variable.

User-added image

After installation, open a command prompt and install packages - comtypes and pandas.

pip install comtypes
pip install pandas

User-added image

Then re-run the Statistica workspace with python node and the node should run to completion.

User-added image