Installation Guide

Python Version

Note

PyAMARES requires Python 3.8 or newer. We recommend using Python 3.11 or newer.

Warning

If you require Python 3.6 or 3.7 compatibility for older systems, please use the legacy2025 branch (version 0.3.29):

python -m pip install git+https://github.com/HawkMRS/pyAMARES.git@legacy2025#egg=pyAMARES

The legacy branch is maintained for critical bug fixes only. For the latest features and improvements, we strongly recommend upgrading to Python 3.11 or newer.

PIP installation

It is recommended to create a Python environment using Anaconda or Miniconda.

PyAMARES requires Python 3.8 or higher. To create a new conda environment with Python 3.12, follow these steps:

  1. Open a terminal window.

  2. Run the command:

    conda create -n env_name python=3.12
    

    Here, replace env_name with the desired name for your PyAMARES environment.

  3. After the environment has been created, activate it by running:

    conda activate env_name
    
  4. Now, you can proceed to install PyAMARES using the pip command. See the next tab Use pip.

Update Installed pyAMARES

PyAMARES is under active development. You can update the installed version of pyAMARES using the following command:

pip install --upgrade pyAMARES

Alternatively, you can install the development version directly from GitHub as previously mentioned:

python -m pip install git+https://github.com/HawkMRS/pyAMARES.git@dev#egg=pyAMARES

Please refer to the installation details in the Install Dev Version Directly from GitHub section above.