3.1.1.1 Configure a Python Interpreter

To configure an python interpreter, follow these steps:
  1. On the Interpreter page LHS menu, select python. The python interpreter pane is displayed.
  2. On the Interpreter Settings page, expand Interpreter Client Configurations and click the Edit icon for <Class Name> (zeppelin). The Interpreter Client Configurations Window is displayed.
  3. Enter the following information in the python interpreter variant pane as described in the following table.

    Table 3-3 Python Interpreter Settings

    Field Description
    zeppelin.python Enter the Python installed path. The value points to the default Python version set for the Interpreter.
    zeppelin.python.useIPython Set to True to use IPython, else set to False.
    zeppelin.python.maxResult Enter the maximum number of results that must be displayed. By, default the value is 1000.

    Note: To update the default value for this property, see the Setting the Maximum Number of Results in the Python Interpreter section.

    zeppelin.interpreter.output.limit Output message from interpreter exceeding the limit will be truncated. Set the default value and the value ranges from 102400 to 10240000 bytes.

    Note: Increasing the Default Value from 102400 bytes to a higher value may slow down output rendering in the python paragraph.

    If the zeppelin.interpreter.output.limit property is unavailable, create and set a default value. For more information, see the Create Zeppelin Interpreter Output Limit in the Python Interpreter section.