Windows installation guide

Myokit can be installed in three steps (using Python 3.6 or newer):

  1. Download and install Miniconda (Python 3, 64 bit)

    Miniconda website

  2. 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.
  3. From the start menu, open an Anaconda prompt as administrator, and type
    pip install myokit[pyqt]
    To add start menu icons, type
    myokit 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 compiler
If 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.


To uninstall Myokit, use

pip uninstall myokit
or simply remove all of Anaconda.


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 ( or check out the issues page.