Installation

For installing _PyForFluids_ you just need to:

pip install pyforfluids

Make sure to check the requirements first!

Requirements

Be sure to install numpy and a fortran compiler previously, since both are needed for the compilation of Fortran code.

NumPy

pip install numpy

Fortran Compiler

Linux

  • Debian-based (Debian, Ubuntu, Mint,…)

sudo apt install gfortran
  • Arch-based (Arch, Manjaro, Garuda, …)

sudo pacman -S gfortran

Windows

We recommended using the Windows Subsystem for Linux and following the Linux instructions.

WSL

If WSL ain’t being used, the native Windows wheels will be download instead, so no need to worry!

MacOS

brew install gfortran