F2PY and Windows with MSYS2
Follow the standard installation instructions. Then, to grab the requisite Fortran compiler with MVSC
:
# 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
© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.0/f2py/windows/msys2.html