Skip to content

Install HyperMapper

arturluis edited this page Mar 16, 2021 · 24 revisions

Using pip

We recommend installing HyperMapper with pip:

pip install hypermapper

We recommend using pip version 18 or higher.

Using Conda

Dependencies:

In general, the use of Conda is recommended because it provides user-friendly access to a wealth of packages from the scientific Python ecosystem. Conda is a good default choice in Linux and OSX. Tested and preferred install anaconda3-4.8.3, other versions of anaconda3 should just work.

If you don't have Conda

You can directly install Anaconda from here. For Linux, you can install with:

wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
bash Anaconda3-2020.02-Linux-x86_64.sh

For MacOSX, you can install with:

wget https://repo.anaconda.com/archive/Anaconda3-2020.02-MacOSX-x86_64.sh
bash Anaconda3-2020.02-Linux-x86_64.sh

Anaconda will request that you agree to the terms of service, choose a path for the installation, and ask whether you wish to initialize Anaconda. We recommend answering 'yes' to the initialization. Then reload the terminal for the changes to take effect:

bash

If you already have Anaconda

If you already have Anaconda, we recommend creating a new environment for HyperMapper. This can be done with:

conda create -n <env_name> anaconda python=3.7
conda activate <env_name>

Manually installing HyperMapper

If you prefer to install HyperMapper manually with pip, you can use:

git clone https://github.com/luinardi/hypermapper.git
cd hypermapper
pip install .
Clone this wiki locally