Back to Numpy

F2PY and Windows with MSYS2

doc/source/f2py/windows/msys2.rst

2.5.0.dev0506 B
Original Source

.. _f2py-win-msys2:

=========================== F2PY and Windows with MSYS2

Follow the standard installation instructions_. Then, to grab the requisite Fortran compiler with MVSC:

.. code-block:: bash

Assuming a fresh install

pacman -Syu # Restart the terminal pacman -Su # Update packages

Get the toolchains

pacman -S --needed base-devel gcc-fortran pacman -S mingw-w64-x86_64-toolchain

.. _installation instructions: https://www.msys2.org/