There are three ways to install and use the ParaMonte library from Python:

The fastest way

Install the latest release of the ParaMonte Python library via the Python Package Index (PyPI). To do so,

  1. Open an Anaconda command-prompt (on Windows) or a Bash shell (on Unix-like OS such as Linux or Darwin/macOS), then type,
    pip install --user --upgrade paramonte

    This will install the Python interface to ParaMonte on your system along with any dependencies. If you are inside an ipython or jupyter session, try instead,

    !pip install --user --upgrade paramonte
  2. Then, open a Python (or ipython or jupyter) session and type,
    import paramonte as pm
  3. The ParaMonte Python library is ready to use!

The fast way

  1. Download and unzip the prebuilt Python package for ParaMonte from the project repository’s release page on GitHub:
    • for Windows:
    • for Linux: libparamonte_python_linux_x64.tar.gz.
    • for macOS: libparamonte_python_darwin_x64.tar.gz.
  2. Open an Anaconda command-prompt (on Windows) or a Bash shell (on Unix-like OS such as Linux or Darwin/macOS).
  3. Change the working directory of your shell environment to the unzipped directory of the ParaMonte Python library, such that when you list the contents of your current working directory, you see a subdirectory named paramonte. This subdirectory contains the Python module interface to the ParaMonte library.
  4. Open an ipython or jupyter session in this environment, and type import paramonte as pm.
  5. Congratulations! you have successfully installed the Python interface to the ParaMonte library on your system.

The long way

If your platform is other than Windows/Linux/macOS or, if your system’s architecture is other than amd64, also known as x64, or, if you are a professional programmer constantly challenging your computer programming knowledge and skills, then the last resort to install the ParaMonte Python library on your system is to build the library from scratch on your system. In such a case, you will have to follow the special instructions given for your platform on this website,

If you have any questions about the topics discussed on this page, feel free to ask in the comment section below, or raise an issue on the GitHub page of the library, or reach out to the ParaMonte library authors.