Installation¶
Curently, the only way to install mshoot is by cloning its repository and installing using pip from the local directory:
git clone https://github.com/sdu-cfei/mshoot.git mshoot
cd mshoot
pip install .
Dependencies: numpy, pandas, scipy, matplotlib, scikit-learn, pyfmi.
Advised procedure¶
Due to reliance on pyfmi, it is advised to use conda. This package is a bit tricky to be installed via pip. In the below procedure it is assumed that you already have git.
- Create a new environment:
conda create --name mshoot python=3.6 - Activate the environment:
conda activate mshoot - Install dependencies from your default channel:
conda install numpy pandas scipy matplotlib scikit-learn - Install pyfmi from conda-forge:
conda install -c conda-forge pyfmi - Clone mshoot repository:
git clone https://github.com/sdu-cfei/mshoot.git mshoot - Switch directory:
cd mshoot - Install mshoot:
pip install -e . - Test the installation:
python run_test.py
Afterwards, each time you want to update mshoot to the newest version from github, just run git pull from the repository directory.