--- layout: docu redirect_from: - /docs/guides/python/install - /docs/preview/guides/python/install - /docs/stable/guides/python/install title: Installing the Python Client --- ## Installing via Pip The latest release of the Python client can be installed using `pip`. ```batch pip install duckdb ``` The pre-release Python client (known as the “preview” or “nightly” build) can be installed using `--pre`. ```batch pip install duckdb --upgrade --pre ``` ## Installing from Source Follow the [Python build guide]({% link docs/current/dev/building/python.md %}).