We currently recommend installing DNNV from source, since it requires less manual effort to correctly set up environment variables.

From Source


  • Python 3.7+

Currently, the easiest way to use DNNV is to clone the github repository, and use the provided script to initiallize a python virtual environment and install verifiers. This requires Python 3.7 or above to be installed, as well as the venv module, which may need to be installed separately (e.g., sudo apt-get install python3-venv).

To clone the source code, run:

git clone

To create a python virtual environment, and install required pacakges for this project, run:

./ init

Additionally, we provide a script to activate the virtual environment and set up environment variables required to find verification tools installed using To activate the environment, run:

. .env.d/

Finally, any of the supported verifiers can be installed using the install command to the script, followed by the name of the verifier. For example, to install the Reluplex verifier, run:

./ install reluplex

DNNV supports the following verifiers:

DNNV can also be installed into an existing virtual environment. To do so, we require the module flit be installed. To install DNNV, ensure that the desired virtual environment is activated, and then run:

flit install

This method requires the user to manually configure environment variables to point to installed verification tools. This can still be done with the .env.d/ script if tools were installed with

From Pip

DNNV can also be installed using pip. Currently, installing with pip does not provide access to the script, so verification tools must be installed separately. Additionally, they must be accessible on the PATH. To install DNNV using pip, run:

pip install dnnv