pymagglobal is distributed via the PyPI registry of the corresponding repository. It can be installed using

$ pip3 install pymagglobal --extra-index-url


pymagglobal depends on

Depending on your setup, the latter two may require additional work to install. The most fluent way to install pymagglobal is to first install cartopy and PyQt5 and then run the pip command given above. In general you should follow the installation instructions given on the respective package homepages.

Below we illuminate some ways to install the dependencies, that we pursued during troubleshooting. If you run into problems during installing pymagglobal, do not hesitate to contact us. Please try to install the dependencies beforehand.


Since conda version 4.6, conda and pip get along well. So you can also run pip3 install … from inside your conda environment. The dependencies come via

conda install cartopy pyqt


First you have to install python and pip:

apt-get install python3-dev python3-pip

The debian-packages necessary to install cartopy can be installed via

apt-get install libproj-dev libgeos-dev proj-bin

Afterwards cartopy will be installed alongside pymagglobal, if you run the pip command from above.