Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex DataSphere
  • Getting started
    • All guides
      • Connecting to JupyterLab from a local IDE
      • Selecting computing resources
      • Checking GPU load
      • Getting a notebook ID
      • Installing packages
      • Notebook code snippets
      • Clearing notebook cell outputs
      • Working with Git
      • Setting up template-based notebook creation
    • Migrating a workflow to a new version
  • Terraform reference
  • Audit Trails events
  • Access management
  • Pricing policy
  • Public materials
  • Release notes

In this article:

  • Getting started
  • Install a package
  1. Step-by-step guides
  2. DataSphere Notebook
  3. Installing packages

Installing dependencies

Written by
Yandex Cloud
Updated at November 26, 2024
  • Getting started
  • Install a package

Popular packages for data analysis and machine learning are pre-installed and ready for use, see the list.

You can install missing packages using the pip package manager.

Getting startedGetting started

Open the DataSphere project:

  1. Select the relevant project in your community or on the DataSphere homepage in the Recent projects tab.

  2. Click Open project in JupyterLab and wait for the loading to complete.
  3. Open the notebook tab.

Install a packageInstall a package

To install a package:

  1. Write the following command in the notebook cell:

    %pip install <package_name>
    

    For example, install the seaborn package to visualize statistics:

    %pip install seaborn
    

    You can use various options that the pip install command supports. See usage examples for this command.

  2. Run the cell. To do this, click .

    The package installation result is displayed under the cell.

Note

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

If you encounter problems when installing dependencies, use the recommendations provided in Solving problems with dependencies in Yandex DataSphere.

Was the article helpful?

Previous
Getting a notebook ID
Next
Notebook code snippets
© 2025 Direct Cursus Technology L.L.C.