5.9.2 Procedure

  1. Set system python3 to the one that is to be used. Navigate to bin folder.
  2. To install the mmg library with dependencies from conf/requirements.txt, execute the following command:
    ./python-env-install.sh

    The following parameter is supported for python-env-install.sh file:

    --user need to be passed in case the packages has to be installed at user level.

    This is not required in case of Conda environment but python3 must be configured to the appropriate Conda environments.

  3. To install the mmg library with flexible dependencies or using already installed dependent packages, execute the following command:
    ./python-env-install.sh -S
    OR
    ./python-env-install.sh --skip
    This will skip the installation of dependency based on the version mentioned in the conf/requirements.txt. The installation will be with whatever version available in the pypi server.
  4. To install the Apache Flink packages, execute the following command:
    ./python-env-install.sh --include-flink

    Note:

    Ignore the below error message during Apache Flink package installation.

    ERROR: pip's dependency resolver does not currently take into account all the

    packages that are installed. This behavior is the source of the following dependency conflicts.

    modin 0.19.0 requires pandas==1.5.3, but you have pandas 1.3.5 which is incompatible.

    Successfully installed numpy-1.21.4 pandas-1.3.5 python-dateutil-2.8.0

    Installing with dependencies

    ERROR: pip's dependency resolver does not currently take into account all the

    packages that are installed. This behavior is the source of the following dependency conflicts.

    pemja 0.2.6 requires numpy==1.21.4, but you have numpy 1.24.2 which is incompatible.

    apache-flink 1.16.1 requires numpy<1.22.0,>=1.21.4; python_full_version >=

    "3.7", but you have numpy 1.24.2 which is incompatible.

    apache-flink 1.16.1 requires pandas<1.4.0,>=1.3.0; python_full_version >=

    "3.7", but you have pandas 1.5.3 which is incompatible.

    apache-flink 1.16.1 requires python-dateutil==2.8.0, but you have

    python-dateutil 2.8.2 which is incompatible.

    apache-beam 2.38.0 requires

    numpy<1.23.0,>=1.14.3, but you have numpy

    1.24.2 which is incompatible.