Installation

From PyPi

The simplest and recommended way to install MLBlocks is using pip:

pip install mlblocks

If you don’t have pip installed, this Python installation guide can guide you through the process.

Additional dependencies

In order to be usable, MLBlocks requires a compatible primitives library.

The official library, required in order to follow the MLBlocks tutorials and documentation examples, is MLPrimitives, which you can install with this command:

pip install mlprimitives

Install for development

If you are installing MLBlocks in order to modify its code, the installation must be done from its sources, in the editable mode, and also including some additional dependencies in order to be able to run the tests and build the documentation. Instructions about this process can be found in the Contributing guide.