Installation Guide

Where to get nmrglue

Install files for all platforms are available for download. The .tar.gz file should be used on Linux and OS X and a binary, .exe file for Windows.


nmrglue depends on the following open-source packages for scientific computing in the Python ecosystem.






Version 3 and above are recommended



Required for all basic data types



Required for processing functions



Optional, required for some functions such as interactive phase correction

Additionally, an interactive environment such as IPython, (available via several distributions such as Jupyterlab, Spyder, Google Colaboratory, etc.) is highly recommended. An easy way of obtaining and installing these packages is to use a Python distribution which provides these packages, such as Anaconda/Miniconda. Detailed information on installing a Scipy stack is available. Note that although the nmrglue codebase remains compatible with Python 2.7+, Python 2, along with Numpy, Scipy and Matplotlib versions that are compatible with it, are no longer actively maintained. Hence, we recommend that Python 3 be used for all new code.

Platform Independent Installation

nmrglue is available for installation via the Python Package Index. The latest stable version can be installed using:

$ python -m pip install nmrglue

The current development version can be installed directly from GitHub using:

$ python -m pip install git+git://

This requires git to be installed and available.

Unix/OSX Installation

After installing the above dependencies download and extract the source distribution and run:

$ python install

Windows Installation

Installation of the Scipy stack via a distribution such as Anaconda/Miniconda is recommended. nmrglue can then be installed using pip, as described above. Alternately, you can download the binary installer and run it.

Installing from source code

nmrglue can also be installed from source code. See the Source Code section of the Developement Guide for details on this process.