Installing Dagster#
Requirements#
Dagster supports Python 3.8 through 3.12.
To check that Python and the pip package manager are already installed in your environment, you can run:
python --version
pip --version
Refer to the Releases guide for more info about how Dagster handles support for Python versions.
Installing Dagster into an existing Python environment#
Note: We strongly recommend installing Dagster inside a Python virtualenv. If running Anaconda, install Dagster inside a Conda environment.
To install the latest stable version of the core Dagster packages in your current Python environment, run:
pip install dagster dagster-webserver
Using a Mac with an Apple silicon chip? Some users have reported installation errors due to missing wheels for arm64 Macs when installing the grpcio
package. You can avoid these errors by installing dagster
using our pre-built wheel of the grpcio
package for M1, M2, and M3 machines:
pip install dagster dagster-webserver --find-links=https://github.com/dagster-io/build-grpcio/wiki/Wheels
Installing Dagster from source#
To install Dagster from source, refer to the Contributing guide.
Installing Dagster using Poetry#
To install Dagster and the Dagster webserver/UI into an existing Poetry project, run:
poetry add dagster dagster-webserver
Using a Mac with an Apple silicon chip? Some users have reported installation problems due to missing wheels for arm64 Macs when installing the grpcio
package. You can avoid these errors by installing dagster
using our pre-built wheel of the grpcio
package for M1, M2, and M3 machines:
poetry source add grpcio https://github.com/dagster-io/build-grpcio/wiki/Wheels
poetry add dagster dagster-webserver
Related#
Creating a new Dagster project | Dagster project files |
Running Dagster locally | Contributing to Dagster |