Installation

InferPy is freely available at Pypi and it can be installed with the following command:

$ python -m pip install inferpy

or equivalently

$ pip install inferpy

The previous commands install our package only with the dependencies for a basic usage. Instead, additional dependencies can be installed using the following keywords:

$ pip install inferpy[gpu]               # running over GPUs

$ pip install inferpy[visualization]     # including matplotlib

$ pip install inferpy[datasets]          # for using datasets at inf.data

If we want to install InferPy including all the dependencies (for CPU only), use the keyword all, that is:

$ pip install inferpy[all]

Similarly, for installing all the dependencies including those for running over GPUs, use the keyword all-gpu:

$ pip install inferpy[all-gpu]

A video tutorial about the installation can be found here.