Installation

Stable release

To install MTH5, run this command in your terminal:

$ pip install mth5

This is the preferred method to install MTH5, as it will always install the most recent stable release.

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

Conda Forge

To install MTH5 from Conda run this command:

$ conda config --add channels conda-forge
$ conda config --set channel_priority strict
$ conda install mth5

This should be the same as installing with pip that pulls from PyPi and should work better if you are using an Anaconda environment.

From sources

The sources for MTH5 can be downloaded from the Github repo.

You can either clone the public repository:

$ git clone git://github.com/kujaku11/mth5

Or download the tarball:

$ curl -OJL https://github.com/kujaku11/mth5/tarball/master

Once you have a copy of the source, you can install it with:

$ python setup.py install

Or you can install it in editing mode and be able to adjust the code as needed:

$ python setup.py -e install