If you are familiar with Python and the pip application and your system
is already configured (compilers, development libraries available), these
two commands should install DREAMTools and its dependencies (in unix or
windows terminal):

pip install cython
pip install dreamtools

If you do not have dependencies installed yet (e.g., pandas, numpy, scipy), this
may take a while depending on your system (typically 10-15 minutes). If you are
in a hurry or do not want to compile libraries, see the Anaconda solution here below.

If you are not familiar with Python, or have issues with the previous method
(e.g., compilation failure), or do not have root access, we would recommend to
use the Anaconda solution.

Anaconda is a free Python distribution. It includes most popular Python packages
for science and data analysis and has dedicated channels. One such channel is
called `bioconda >https://bioconda.github.io/>`_ and complements the default
channel (conda) with a set of packages dedicated to life science.

We have included DREAMTools in bioconda channel. So, once Anaconda is installed,
you first need to add the bioconda channel to your environment (and R
channel):

conda config --add channels r
conda config --add channels bioconda

This should be done only once. Then, install DREAMTools itself:

conda install dreamtools

This command should install DREAMTools in your default conda environment. If
you wish to try DREAMTools in another (independent) environment (e.g., a
different python version), you would need to create and activate the environment first:

The previous methods relies on released versions of DREAMTools. If a new
feature is only available in the source code, then you will need to get the
source code, which is available in the github repository:

However, if you use Anaconda and decide to compile the source yourself under Windows, then you will
have to install a compiler that is compatible with Anaconda. In other words, you will have to use the same compiled as the one used by Anaconda.

DREAMTools is compatible with Python2.7, Python3.4, Python3.5. The
bioconda channel provide these 3 versions. If you still want to use
Python2.6 or 3.3, DREAMTools may work as well but you would need to compile
the dependencies yourself.