Skip to main content
Version: 0.5.4

Installation

Setting up your environment

1. Make sure you are using Python 3.8-3.12 and have pip installed

python --version
pip --version

If you have a different python version installed or are missing pip, follow the instructions below to update your python version and/or install pip.

You can install Python 3.10 with apt.

sudo apt update
sudo apt install python3.10
sudo apt install python3.10-venv

2. Set up and activate a virtual environment for your python project

We recommend working within a virtual environment when creating python projects. This way all the dependencies for your current project will be isolated from packages in other projects.

Create a new virtual environment in your working folder. This will create an ./env directory where your virtual environment will be stored:

python -m venv ./env

Activate the virtual environment:

source ./env/bin/activate

3. Install dlt library

You can now install dlt in your virtual environment by running:

# install the newest dlt version or upgrade the exisint version to the newest one
pip install -U dlt

Other installation examples:

# install dlt with support for duckdb
pip install "dlt[duckdb]"
# install dlt version smaller than 0.5.0
pip install "dlt<0.5.0"

3.1. Install dlt via Pixi or Conda

Install dlt using pixi:

pixi add dlt

Install dlt using conda:

conda install -c conda-forge dlt

4. Done!

You are now ready to build your first pipeline :)

This demo works on codespaces. Codespaces is a development environment available for free to anyone with a Github account. You'll be asked to fork the demo repository and from there the README guides you with further steps.
The demo uses the Continue VSCode extension.

Off to codespaces!

DHelp

Ask a question

Welcome to "Codex Central", your next-gen help center, driven by OpenAI's GPT-4 model. It's more than just a forum or a FAQ hub – it's a dynamic knowledge base where coders can find AI-assisted solutions to their pressing problems. With GPT-4's powerful comprehension and predictive abilities, Codex Central provides instantaneous issue resolution, insightful debugging, and personalized guidance. Get your code running smoothly with the unparalleled support at Codex Central - coding help reimagined with AI prowess.