Skip to content

Installation

YData SDK supports Python 3.10 and above and can be installed on Windows, Linux, or macOS.

Environment setup

Python environment

💡 Make sure your environment uses Python 3.10 or above.

It is recommended to create a virtual environment before installing:

pyenv virtualenv 3.13 ydata
pyenv activate ydata
conda create -n ydata python=3.13
conda activate ydata

System prerequisites

Some features require native libraries. Install them before the SDK.

Ubuntu

sudo apt update
sudo apt install -y \
    libpq-dev python3-dev \
    libpango-1.0-0 libcairo2 libpangoft2-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf2.0-0

macOS

brew install postgresql pango cairo gdk-pixbuf

Windows

  • Microsoft Visual C++ Build Toolsdownload
  • GTK+ for WeasyPrintdownload, then add bin/ to PATH
  • PostgreSQL for psycopg2download