Obj.MPP Installation

Installation

Using Tools

The Obj.MPP project is published on the Python Package Index (PyPI) at: https://pypi.org/project/obj.mpp. It requires version 3.8, or newer, of the interpreter. It should be installable from Python distribution platforms or Integrated Development Environments (IDEs). Otherwise, it can be installed from a command-line console:

  • For all users, after acquiring administrative rights:
    • First installation: pip3 install obj.mpp
    • Installation update: pip3 install --upgrade obj.mpp
  • For the current user (no administrative rights required):
    • First installation: pip3 install --user obj.mpp
    • Installation update: pip3 install --user --upgrade obj.mpp

Note

The command pip3 was mentioned above to emphasize that Obj.MPP requires major version 3 of Python. If pip defaults to this version, it can of course be used instead.

Manually

To install Obj.MPP manually anywhere in a non-system location, download the project available in the source code repository, for example as a ZIP archive. Check that all the requirements are met (see Section Requirements). Then follow the instructions Obj.MPP for Users.

Requirements

The standalone distribution of mpp_detector_cli.py for Windows (see Windows section) requires Windows PowerShell. Recent versions of Windows normally come with PowerShell pre-installed. If not, instructions to install it can easily be found.

To use the Obj.MPP tools in an OS-independent way (see OS-independent section), the requirements are:

  • the latest Python language interpreter of major version 3 (see note on Python version)

  • the following Python packages (the mentioned versions are the ones used for development)

    • pillow
    • PyQt5
    • colorama
    • imageio
    • matplotlib
    • networkx
    • numpy
    • scikit_image
    • scipy
  • a console (a.k.a. terminal) application on Linux or MacOS (console application also usable on Windows, but not required)

Note

For sure, pre-3.6 Python versions are not recent enough. The Obj.MPP tools might work with pre-latest versions though. However, the source code is regularly “upgraded” to benefit from new features of the language.