3.1.1.2 Change Version in the Python Interpreter

In the python Interpreter, the Linux console uses the default python version in. /user/fccstudio/ python_user/bin/python as value. If you want to modify the python version, either you can create an interpreter variant or modify the existing python version in the same interpreter variant.

Note:

The python2 is the default version used in the Linux console and is no longer supported. Hence, you can use any version of python3 or any conda environment with a specific python version or a specific version of python packages.
To use a different version of Python, follow these steps:
  1. Navigate to the python Interpreter Settings page.
  2. Expand Interpreter Client Configurations and click the Edit icon for <Class Name> (zeppelin). The Interpreter Client Configurations Window is displayed.
  3. Click zeppelin.properties. The Properties window is displayed.
  4. Change the default Python version in the Default Value parameter to the new version. <COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/python-packages/ defaultVirtualEnv/bin/<Python Version>.
    By default, it is python3.
    For example, <COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/pythonpackages/ defaultVirtualEnv/bin/python3.
  5. Create a new interpreter variant and configure the version in the Default Value parameter. For information on creating a new interpreter variant, see Create an Interpreter Variant section. For example, to use Python 3.6.13, create a new python interpreter variant and enter the value as python 3.6.13.