Installing
Contents
Installing¶
You can install Dask-MPI with pip
, conda
, or by installing from source.
Pip¶
Pip can be used to install both Dask-MPI and its dependencies (e.g. dask, distributed, NumPy, Pandas, etc.) that are necessary for different workloads.:
pip install dask_mpi --upgrade # Install everything from last released version
Conda¶
To install the latest version of Dask-MPI from the conda-forge repository using conda:
conda install dask-mpi -c conda-forge
Install from Source¶
To install Dask-MPI from source, clone the repository from github:
git clone https://github.com/dask/dask-mpi.git
cd dask-mpi
pip install .
You can also install directly from git main branch:
pip install git+https://github.com/dask/dask-mpi
Test¶
Test Dask-MPI with pytest
:
git clone https://github.com/dask/dask-mpi.git
cd dask-mpi
pytest dask_mpi