create a virtual environment for pymatmc2
conda create -name pymatmc2
conda install -n pymatmc2 -c matsci ase
conda install -n pymatmc2 pytest
conda install -n pymatmc2 pyyaml
conda install -n pymatmc2 statsmodels
Download the packages from github
mkdir ~/repos; cd repos
git clone https://github.com/eragasa/mexm-base.git
git clone https://github.com/eragasa/pymatmc2.git
cd ~/repos/pymatmc2; git checkout develop
cd ~/repos/mexm-base; git checkout dev
add the following lines to your profile (your specific environment might require an absolute path). Changing your profile will either require you to open a new shell or reading in the new profile (e.g. source ~/.zshrc)
export PYTHONPATH=~/repos/pymatmc2/src:$PYTHONPATH
export PYTHONPATH=~/repos/mexm-base/src:$PYTHONPATH
To produce graphics, a LaTeX installation is required.
https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html