Installation#

Because the main dependency FEniCSx (dolfinx) cannot be installed natively on Windows, Windows users must use the Windows Subsystem for Linux (WSL). FEniCSx can be installed natively on MacOs and Linux.

Tip

You can install WSL by running wsl --install on a command prompt window. To launch into WSL, simply enter wsl.

Visual Studio Code is the recommended IDE to use with Windows due to the WSL extension.

Option 2: Docker#

Installing the FEniCSx docker container and then installing FESTIM with pip inside it is also an option:

docker run -ti dolfinx/dolfinx:stable
pip install festim

Option 3: From Source#

When none of the above methods are possible, users can build FEniCSx from source and then install FESTIM and all dependencies manually. Please refer to the FEniCSx documentation for complete instructions on building dolfinx from source.