Installation#
This course assumes that you have a working installation Python 3.8+.
Install/upgrade MIKE IO (
pip install --upgrade mikeio
)(On PCs without MIKE Zero) Install VC redist
Install matplotlib (
pip install matplotlib
)Install netCDF4 (
pip install netCDF4
)Install/upgrade ModelSkill (
pip install --upgrade modelskill
)
You will need to code in either VS Code or Jupyter Lab in this course.
Test your installation#
Open command prompt (
cmd.exe
)Start python (
> ipython
)Run the following lines of code:
import sys
import numpy as np
import pandas as pd
import matplotlib as mpl
import mikeio
import fmskill
print(f"Python version: {sys.version}")
print("NumPy: " + np.__version__)
print("Pandas: " + pd.__version__)
print("Matplotlib: " + mpl.__version__)
print("MIKE IO: " + mikeio.__version__)
print("ModelSkill: " + modelskill.__version__)
Can you say yes to the following questions?
My Python version is 3.8 or greater
My NumPy version is 1.18 or greater
My pandas version is 1.0 or greater
My matplotlib version is 3.2 or greater
My MIKE IO version is 1.0 or greater
My ModelSkill version is 1.0 or greater