Magpylib works with Python 3.7 or later ! The following packages will be automatically installed, or updated. See Git Hub for respective versions. Packages will never be downgraded.
scipy (.spatial.transform, .special)
Using a package manager¶
Magpylib works with PyPI and conda-forge repositories.
Install with pip,
pip install magpylib
or with conda
conda install magpylib
Or if you have little experience with Python we recommend using Anaconda.
Download & install Anaconda3
Start Anaconda Navigator
On the interface, go to
Environmentsand choose the environment you wish to install magpylib in. For this example, we will use the base environment:
Click the arrow, and open the conda terminal
Input the following to install from conda-forge:
conda install -c conda-forge magpylib
Don’t forget to select the proper environment in your IDE.