5.9.1 Prerequisites

  • Python 3.8.x and above

    Note:

    Ensure the libraries, bzip2-devel, sqlite-devel, ncurses-devel, and xz-devel, libffi-devel are installed before you install the Python package.

    For Example:

    Note:

    Install the below libraries as a root user.
    • bzip2-devel: Execute the command yum install bzip2-devel
    • sqlite-devel: Install as a root user using the command yum install sqlite-devel
    • ncurses-devel: Install as a root user using the command yum install ncurses-devel
    • xz-devel: Install as a root user using the command yum install xz-devel
    • libffi-devel: Install as a root user using the command yum install libffi-devel

Note:

In order to download the latest python packages after MMG upgrade, the pip cache in the server user home directory needs to be cleared.

Path: $HOME/.cache/pip

Note:

Documentation of Mandatory Parameter to be passed as part of Python environment install.sh Installation

Now, parameters is supported as below for python-env-install.sh file:

The user needs to be passed in case the packages has to be installed at a user level. The above is not required in case of CONDA environment. In this case make sure the Python3 is pointed to proper Conda environments.