Windows installation guide
Myokit can be installed in three steps (using Python 3.6 or newer):
- Download and install Miniconda (Python 3, 64 bit)
-
Download and install a Visual C++ compiler (MSVC 14.x).
Currently, the easiest option seems to be installing the:
Build Tools for Visual Studio 2019
When installing, make sure to select the "C++ build tools" option, with the "MSVC" and "Windows 10 SDK" optional features enabled. Alternatively, look here for the latest compatibility information and installation instructions. -
From the start menu, open an Anaconda prompt
as administrator , and typepip install myokit[pyqt]
To add start menu icons, typemyokit icons
To upgrade an existing Myokit installation, open an Anaconda prompt and type
pip install --upgrade myokit
Compiler issues
Microsoft has not made it easy to install their C/C++ compilers. In addition, you need a specific version of the compiler depending on which version of Python you use. Information on which compiler you need, and how to get it, can be found on this Python wiki page.
To see if Myokit can find a compiler, use:
python -m myokit compilerIf it can't, more debug information can be obtained using
python -m myokit compiler --debug
Adding OpenCL support
If you want to use the OpenCL based libraries, look here for instructions.
Other Python distributions
Myokit can be used with other Python distributions (versions 3.6 or newer), provided the appropriate compiler is installed. For a list of which compiler is needed with which Python version, see the Python wiki.
Uninstall
To uninstall Myokit, use
pip uninstall myokitor simply remove all of Anaconda.
Licensing
Please note: Anaconda is a third-party software package with its own licensing and copyright restrictions. The Myokit installer provides binary packages for CVODES, another third-party package that is part of the Sundials suite of solvers. Licensing information on CVODES can be found here.
Further questions
If you have any questions, please email Michael Clerx (michael@myokit.org) or check out the issues page.