Search
ctrl/
Ask AI
Light
Dark
System

Installation

The recommended way to install the EdgeDB driver is to use pip:

Copy
$ 
pip install edgedb

It is recommended to use pip version 8.1 or later to take advantage of the precompiled wheel packages. Older versions of pip will ignore the wheel packages and install from the source package. In that case a working C compiler is required.

If you want to build the EdgeDB driver from a Git checkout you will need:

  • A working C compiler.

  • CPython header files. These can usually be obtained by installing the relevant Python development package: python3-dev on Debian/Ubuntu, python3-devel on RHEL/Fedora.

Once the above requirements are satisfied, run the following command in the root of the source checkout:

Copy
$ 
pip install -e .

A debug build containing more runtime checks at the expense of performance can be created by setting the EDGEDB_DEBUG environment variable when building:

Copy
$ 
env EDGEDB_DEBUG=1 pip install -e .

The testsuite requires a working local installation of the EdgeDB server. To execute the testsuite run:

Copy
$ 
python setup.py test