DeepHyper installation requires Python>=3.7 and <3.9.

Conda environment

This installation procedure shows you how to create your own Conda virtual environment and install DeepHyper in it. After installing Anaconda or Miniconda, create the dh environment:

$ conda create -n dh python=3.8
$ conda activate dh

For Linux-based systems, it is then required to have the following additionnal dependencies:

$ apt-get install build-essential
$ # or
$ conda install gxx_linux-64 gcc_linux-64

Finally install DeepHyper in the previously created dh environment:

$ pip install pip --upgrade
$ # DeepHyper + Analytics Tools (Parsing logs, Plots, Notebooks)
$ pip install deephyper["analytics"]

Jupyter Notebooks

To create a custom Jupyter kernel run the following from your activated Conda environment:

$ python -m ipykernel install --user --name deephyper --display-name "Python (deephyper)"

Now when you open a Jupyter notebook the Python (deephyper) kernel will be available.

Developer Installation

Follow the Conda environment installation and replace pip install deephyper[analytics] by:

$ git clone https://github.com/deephyper/deephyper.git
$ cd deephyper/ && git checkout develop
$ pip install -e ".[dev,analytics]"