Install Xorq, verify the setup works, and add optional backend extras
This guide shows you how to install Xorq and confirm the installation works. It also covers the optional extras that add support for specific backends.
If you want to connect to a database after installing, see Connect to a backend.
Prerequisites
Python 3.10 or higher. Check with python --version; if you’re below 3.10, grab a newer release from the Python downloads page.
ModuleNotFoundError: No module named 'xorq': the install landed in a different environment than the one running your code. Compare which python against the environment you installed into, or run pip show xorq to see where it went.
xo.duckdb.connect() (or another backend) raises an import error: the backend extra isn’t installed. Install it from the extras table.
Build errors during pip install: your Python is probably older than 3.10. Check python --version and upgrade if needed.