Skip to content

Installation

Get spotify-sdk installed and ready to use in your Python project.

Prerequisites

  • Python 3.10 or higher

Python version support follows the official Python release cycle. We support all versions that have not reached end-of-life.

Install the package

spotify-sdk is available on PyPI and can be installed with a Python package installer.

Virtual Environments

We recommend installing spotify-sdk in a virtual environment, which isolates project dependencies from system packages and other projects.

uv is a fast Python package installer that automatically manages virtual environments:

uv add spotify-sdk

pip is the standard Python package installer:

python3 -m venv .venv
source .venv/bin/activate
pip install spotify-sdk

Verify installation

Confirm the package is installed correctly:

import spotify_sdk
print(spotify_sdk.__version__)

Next steps

  • Quickstart


    Learn how to authenticate and make your first API call.

    Get started