Dash Installation

Prerequisite: dash requires Python v3.8 or later

In your terminal, install dash.

pip install dash

If you are not using Dash Enterprise, we recommend installing dash along with the Plotly Cloud extension. Using the extension, you can publish an app running on your workstation directly to Plotly Cloud from the app. Install dash with the Plotly Cloud extension:

pip install "dash[cloud]"

Upgrading Dash

These docs are running dash version 4.3.0.
You can check your version of dash with:

pip show dash

And upgrade with:

pip install dash --upgrade

Plotly Graphing Library

When you install dash, Plotly’s graphing library, plotly is also installed. plotly.express, the high-level entrypoint to the plotly graphing library, requires a supported dataframe library to be installed. We recommend installing Pandas to follow along with examples in the documentation.

pip install pandas

For details on support for other dataframe libraries in plotly.express, see Supported DataFrame Types.

Sign up for Dash Club → Two free cheat sheets plus updates from Chris Parmer and Adam Schroeder
delivered to your inbox every two months. Includes tips and tricks, community apps,
and deep dives into the Dash architecture.
<u>Join now<u>.

Ready? Now, let’s see an example of a minimal Dash app.