How to configure a specific Python version for Hue

Hue provides the flexibility to use a specific version of Python, as long as that version is installed on the relevant cluster nodes. By default, Hue automatically selects the highest available Python version on the system.

  1. Log in to Clouder Manager as an Administrator.
  2. Go to Clusters > Hue > Configuration add the following key and value in the Hue Service Environment Advanced Configuration Snippet (Safety Valve) field:

    Key: HUE_PYTHON_VERSION

    Value: python3.x (for example, python3.11 or python3.9)

  3. Click Save Changes.
  4. Restart the Hue service.