Installing MIKE IO#
Open command prompt
Navigate to the directory where you created your environment using
cd <path_to_your_directory>
Activate the environment using
.venv\Scripts\activate
(Windows) orsource .venv/bin/activate
(Linux/Mac).Install MIKE IO using pip, not conda/mamba! (
pip install mikeio
)(On Windows PC without MIKE Zero) Install VC redist
Test your installation#
Open command prompt
Start python (
python
)Run the following lines of code:
import mikeio
print("MIKE IO: " + mikeio.__version__)
Can you say yes to the following question?
My MIKE IO version is 2.0 or greater
FAQ#
When I try to import mikeio I get this error:#
FileNotFoundError: Could not find module ‘***\lib\site-packages\mikecore\bin\windows\eum’
The solution is to install VC redist