Installation
Tip
For Windows users with relatively little experience with Python, we warmly recommend to use the Anaconda distribution. Anaconda is an all-in-one package containing the Python compiler, an integrated desktop environment (Spyder) and plenty of useful Python packages such as numpy and matplotlib.
PPMIL plays nicely with the PyLebedev and PyTessel packages which we install together with the ppmil package.
PPMIL is distributed via both Anaconda package as well as PyPI. For Windows, it is recommended to install PPMIL via Anaconda, while for Linux, we recommend to use PyPI.
Windows / Anaconda
To install PPMIL under Windows, open an Anaconda Prompt window and run:
conda install -c ifilot ppmil pylebedev pytessel
Note
Sometimes Anaconda is unable to resolve the package dependencies. This can be caused by a broken environment. An easy solution is to create a new environment. See the “Troubleshooting” section at the end of this page for more information.
Linux / PyPI
To install PPMIL systemwide, run:
sudo pip install ppmil pylebedev pytessel
or to install PPMIL only for the current user, run:
pip install ppmil pylebedev