Installing MMODES

A Python version >= 3.6 is required in order to install MMODES (install Python 3). To avoid messing up with versions, working on a virtualenv might be a good idea.

PIP Install

It’s recommended to install MMODES via pip. This way, the latest stable version of the package is guaranteed. Naturally, in order to install MMODES through pip, pip tool is required (if it isn’t installed, check the pip’s installation instructions). Usually, the –user flag is required. On a bash shell:

pip3 install mmodes --user

Build from SOURCE

Otherwise, you can build from the GitHub repository. COBRApy version used is 15.2. Scipy, numpy, matplotlib and dill are also required. A cobra version >= 14 should also work, albeit not being guaranteed.

git clone https://github.com/carrascomj/mmodes.git # or ssh
cd path_to_mmodes/mmodes
sudo python3 setup.py install

DOCKER Install

A docker image is currently under development.

Uninstall

Uninstalling can be accomplished via pip:

pip3 uninstall mmodes --user # if user install
sudo pip3 uninstall mmodes # if superuser install (from source)