MPIRE can be installed through pip:
pip install mpire
and is available through conda-forge:
conda install -c conda-forge mpire
MPIRE is available for Python >= 3.6.
Python >= 3.6
Python packages (installed automatically when installing MPIRE):
dataclasses (Python 3.6 only)
pywin32 (Windows only)
When using MPIRE on Windows with conda, you might need to install
conda install pywin32 when
DLL failed to load error.
For some functions or tasks it can be useful to not rely on pickle, but on some more powerful serialization backend,
dill isn’t installed by default as it has a BSD license, while MPIRE has an MIT license. If you want
to use it, the license of MPIRE will change to a BSD license as well, as required by the original BSD license. See the
BSD license of multiprocess for more information.
You can enable
dill by executing:
pip install mpire[dill]
Optionally, you can install the dependencies for the MPIRE dashboard, which depends on Flask. Similarly as with
Flask has a BSD-license. Installing these dependencies will change the license of MPIRE to BSD as well.
See the BSD license of Flask for more information.
The dashboard allows you to see progress information from a browser. This is convenient when running scripts in a notebook or screen, or want to share the progress information with others. Install the appropriate dependencies to enable this:
pip install mpire[dashboard]