You can install additional components when you create a Dataproc cluster using the Optional Components feature. This page describes the Anaconda component.
The Anaconda component
is a Python distribution and Package Manager with over 1000 popular data science
packages. The component is installed on all cluster nodes in
and becomes the default Python interpreter.
Install the component
Install the component when you create a Dataproc cluster. Components can be added to clusters created with Dataproc version 1.3 and later.
See Supported Cloud Dataproc versions for the component version included in each Dataproc image release.
To create a Dataproc cluster that includes the Anaconda component,
gcloud dataproc clusters create cluster-name
command with the
gcloud dataproc clusters create cluster-name \ --optional-components=ANACONDA \ --region=region \ ... other flags
REST APIThe Anaconda component can be specified through the Dataproc API using SoftwareConfig.Component as part of a clusters.create request.
In the Cloud Console, open the Dataproc Create a cluster page. Click "Advanced options" at the bottom of the page to view the Optional Components section.
Click "Select component" to open the Optional components selection panel. Select one or more components to install on your cluster.