Installation

System Requirements

AutoFlow has the following system requirements:

  • Linux operating system (for example Ubuntu),

  • Python (>=3.6).

  • C++ compiler (with C++11 supports) and SWIG (version 3.0 or later)

Besides the listed requirements (see requirements.txt), the random forest used in SMAC3 requires SWIG (>= 3.0, <4.0) as a build dependency.

To install the C++ compiler and SWIG system-wide on a linux system with apt, please call:

sudo apt-get install build-essential swig

If you use Anaconda, you have to install both, gcc and SWIG, from Anaconda to prevent compilation errors:

conda install gxx_linux-64 gcc_linux-64 swig

Installation from pypi

To install AutoFlow from pypi, please use the following command on the command line:

pip install auto-flow

If you want to install it in the user space (e.g., because of missing permissions), please add the option --user or create a virtualenv.

Manual Installation

To install AutoFlow from command line, please type the following commands on the command line:

git clone https://github.com/auto-flow/autoflow.git
cd autoflow
python setup.py install