diff --git a/datasets/doc/source/how-to-install-flwr-datasets.rst b/datasets/doc/source/how-to-install-flwr-datasets.rst index 0842a807f089..d2fd7923a817 100644 --- a/datasets/doc/source/how-to-install-flwr-datasets.rst +++ b/datasets/doc/source/how-to-install-flwr-datasets.rst @@ -10,15 +10,21 @@ Flower Datasets requires `Python 3.8 `_ or above. Install stable release (pip) ---------------------------- -Stable releases are available on `PyPI `_:: +Stable releases are available on `PyPI `_ + +.. code-block:: bash python -m pip install flwr-datasets -For vision datasets (e.g. MNIST, CIFAR10) ``flwr_datasets`` should be installed with the ``vision`` extra:: +For vision datasets (e.g. MNIST, CIFAR10) ``flwr-datasets`` should be installed with the ``vision`` extra + +.. code-block:: bash python -m pip install flwr_datasets[vision] -For audio datasets (e.g. Speech Command) ``flwr_datasets`` should be installed with the ``audio`` extra:: +For audio datasets (e.g. Speech Command) ``flwr-datasets`` should be installed with the ``audio`` extra + +.. code-block:: bash python -m pip install flwr_datasets[audio]