F2PY 与 Windows 搭配 MSYS2#

请遵循标准的安装说明。然后,使用 MVSC 获取所需的 Fortran 编译器

# 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