Install via pip:

pip install magicgui

or Conda:

conda install -c conda-forge magicgui


You will need to have a supported GUI backend also installed in your environment. Currently, the only supported backend is Qt, via qtpy (but open an issue if you would like to see a different backend supported).

To use with Qt, you will also need to have either PyQt5 or PySide2 installed in your environment. For example:

pip install magicgui[pyqt5]
# or
pip install magicgui[pyside2]

or with conda:

conda install -c conda-forge magicgui pyqt5