Installing DoubleML

How to install the R package DoubleML is described below, the installation of the Python package DoubleML is described in the following.

Python: Installing DoubleML

There are three different ways to install the python package DoubleML:

  • Install the latest official release via pip or conda. This is the recommended approach for most users.

  • Install a released version of DoubleML from a .whl file.

  • Building the package from source. This is recommended if you want to work with the latest development version of the package. This also the best way if you wish to contribute to DoubleML.

Python: Installing the latest release from pip or conda

Python: Installing a released version from a .whl file

Released versions of the DoubleML package in form of .whl files can be obtained from GitHub Releases. After setting up python and pip as described above use

$ pip install -U DoubleML-0.3.0-py3-none-any.whl

Python: Building the package from source

This is recommended if you want to work with the latest development version of the package or wish to contribute to DoubleML.

First download the latest source code from GitHub via

$ git clone
$ cd doubleml-for-py

Then build the package from source using pip in the editable mode. The advantage of building the package with the flag --editable is that changes of the source code will immediately be re-interpreted when the python interpreter restarts without having to re-build the package DoubleML.

$ pip install --editable .

An alternative to pip with the --editable flag is the develope mode of setuptools. To use it call

$ python develop

R: Installing DoubleML

R: Installing the latest release from CRAN

Install the last release from CRAN


The package can be loaded after completed installation


R: Installing the development version from GitHub

The DoubleML package for R can be downloaded using the command (previous installation of the remotes package is required).


Load the package after completed installation.