Installation

Installation#

This package is available in the Python Package Index. So the easiest way to install it is using pip:

pip install mloptimizer

Warning

It is recommended to install mloptimizer in a virtual environment. See the section below for more information.

It is also available at Github where you can clone it.

Virtual environment#

It is recommended to create a virtual environment using the venv package. To learn more about how to use venv, check out the official Python documentation at https://docs.python.org/3/library/venv.html. Once installed, you can create a virtual environment and activate it using the following commands:

# Create the virtual environment
python -m venv myenv
# Activate the virtual environment
source myenv/bin/activate

To install mloptimizer, then simply run:

pip install mloptimizer