Use an Alternative Python Interpreter
You can use a Python interpreter that is different from the one provided with your Spotfire installation by uploading it in a Spotfire package.
You can create a Spotfire package (SPK) containing an alternative Python interpreter from either a Windows computer or a Linux computer. You can then upload the SPK to the Spotfire Server deployment area for distribution to the computers running the node managers, or for distribution to users connected to the Spotfire Server running Spotfire Analyst.
- If your node manager is running on a Windows server, then you can create an SPK containing the Python interpreter from a Windows computer where the alternative Python interpreter is installed.
- If your node manager is running on a Windows server, but you want to keep your installation of Python "pristine", then you can create a virtual environment where you can create the SPK for the alternative interpreter.
- If your node manager is running on a Linux server, then you can create the SPK containing the alternative Python interpreter from the Linux computer that is running the node manager, and where both the default Python interpreter and the alternative Python interpreter are installed, or you can create the SPK from a Windows computer and then deploy it to your Spotfire Server for distribution to your node manager running on Linux.
This section provides instruction for packaging and uploading the alternative Python interpreter for all of those cases.
Each Help reference is a link to the topic. Click the square to see more information.

- Creating a Spotfire Package for an Alternative Python Interpreter (for Windows)
The installation of Spotfire Service for Python on your Spotfire Server includes a Python interpreter and a set of packages to enable using Python. An installation of Spotfire Analyst that connects to the Spotfire Server also includes the same version of a Python interpreter. You can provide a different version of the Python interpreter, if needed, on both the Spotfire Server and Spotfire Analyst. - Build a Suitable Python Interpreter for Spotfire Service for Python (for Linux)
The installation of Spotfire Service for Python on your Spotfire Server includes a Python interpreter and a set of packages to enable using Python. An installation of Spotfire Analyst that connects to the Spotfire Server also includes the same version of a Python interpreter. You can provide a different version of the Python interpreter, if needed, on both the Spotfire Server and Spotfire Analyst. - Creating a Virtual Environment for an Alternative Python Interpreter (Spotfire Analyst Computer)
If you want to create an SPK containing a different Python interpreter than the one distributed with Spotfire Service for Python, but you do not want to package it from within that Python interpreter, then you can create a virtual environment and create the SPK there.
Related concepts
Related tasks
Related reference
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.