Installation of MpyLab for Users¶
Users of MPyLab (as opposed to developers of MpyLab) simply install from PyPI (https://pypi.org/):
python -m pip install mpylab
Alternatively, install the current source directly from GitLab:
python -m pip install git+https://gitlab.hrz.tu-chemnitz.de/chair-of-electromagnetic-theory-and-compatibility-at-tu-dresden/mpylab/mpylab.git
This requires git to be installed locally. To install a specific branch or
tag, append it after an @ sign, for example @main or @v0.1.0.
Dependencies are installed along with it. It is strongly recommended to use a virtual environment, e.g.:
> mkdir venv && cd venv
> python -m venv .venv
> source .venv/bin/activate
(venv) > python -m pip install --upgrade pip
(venv) > python -m pip install mpylab
To use the GitLab source in the virtual environment, replace the last command
with the git+https command shown above.