# Check version
python -c "import matplotlib;print matplotlib.__version__"
</syntaxhighlight>
Install mpi4py
<syntaxhighlight lang="bash">
# https://anaconda.org/anaconda/mpi4py
conda install -c anaconda mpi4py
# Check version
python -c "import mpi4py;print mpi4py.__version__"
</syntaxhighlight>
# Clone relax
git clone https://git.code.sf.net/p/nmr-relax/code nmr-relax-code
# OR
git clone https://github.com/nmr-relax/relax.git nmr-relax-code
cd nmr-relax-code
scons
# Test installationSee version and package details./relax -i # The "main" branch is the developing branch. It can contain bugs and be unstable.#You can also "check-out" the last "working version" of relax with# This will show tags used for the numberinggit tag -l '[0-9]*' -n # If the latest version is 4.0.3git checkout tags/4.0.3
# See version and package details
./relax -i
# If you want to use the main branch
git branch --list
git checkout master
# Run unittest
./relax -u