[Yandex Cloud documentation](../../../index.md) > [Yandex DataSphere](../../index.md) > [Step-by-step guides](../index.md) > DataSphere Notebook > Installing packages

# Installing dependencies

Popular packages for data analysis and machine learning are pre-installed and ready for use. You can find a list of these packages [here](../../concepts/preinstalled-packages.md).

To install missing packages, use `pip`.

## Getting started {#before-begin}

Open the DataSphere project:

1. Select the project in your community or on the DataSphere [home page](https://datasphere.yandex.cloud) in the **Recent projects** tab.
1. Click **Open project in JupyterLab** and wait for the loading to complete.
1. Open the notebook tab.

## Installing a package {#install}

To install a package:

1. Enter the following command in a notebook cell:

   ```
   %pip install <package_name>
   ```

   For example, install the [seaborn](https://github.com/mwaskom/seaborn) package to visualize statistics:

   ```
   %pip install seaborn
   ```

   You can use various options the [pip install](https://pip.pypa.io/en/stable/cli/pip_install/) command supports. For examples of using this command, follow [this link](https://pip.pypa.io/en/stable/cli/pip_install/#pip-install-examples).
1. Run the cell. To do this, click ![Run](../../../_assets/datasphere/jupyterlab/run.svg).

   The package installation result will show up under the cell.

{% note info %}

To refresh the list of installed packages, restart the kernel. To do this, click **Kernel** → **Restart Kernel** in the top panel of the project window.

{% endnote %}

If you encounter problems when installing dependencies, use the recommendations provided in [Solving problems with dependencies in Yandex DataSphere](../../qa/environment-problems.md).