I think I am having an issue with versions. I’m able to get most of the way through the installation steps, but I get this error when I’m installing the python interface. I’ve cleared everything and restarted the install, but always get stuck here. Does anyone have advice on how to get around this error?
ERROR: Could not find a version that satisfies the requirement fenics-ffcx<0.11.0,>=0.10.0.dev0 (from fenics-dolfinx) (from versions: 0.4.1.post0, 0.4.2, 0.5.0.post0, 0.6.0, 0.7.0, 0.8.0, 0.9.0)
ERROR: No matching distribution found for fenics-ffcx<0.11.0,>=0.10.0.dev0
Source Installation of DOLFINx requires installation of the C++ core. Most users will also want the Python interface. An example of how to build DOLFINx and its dependencies can be found in our RedHat Dockerfile and RedHat GitHub Actions workflow for a minimal set of tested steps that can be adapted to suit most Unix-like systems.
In the RedHat GitHub Actions workflow you linked, these sets of commands install an incompatible version of ffcx with the versions of dolfinx and basix on my system.
ERROR: Could not find a version that satisfies the requirement fenics-ufl<2024.4.0,>=2024.3.0.dev0 (from fenics-ffcx) (from versions: 2017.1.0.post1, 2017.2.0, 2018.1.0, 2019.1.0, 2022.1.0.post0, 2022.2.0, 2023.1.0, 2023.1.1.post0, 2023.2.0, 2024.1.0.post0, 2024.1.0.post1, 2024.2.0)
ERROR: No matching distribution found for fenics-ufl<2024.4.0,>=2024.3.0.dev0
fenics-ffcx 0.9.0 requires fenics-basix<0.10.0,>=0.9.0, but you have fenics-basix 0.10.0.dev0 which is incompatible.
fenics-ffcx 0.9.0 requires fenics-ufl<2024.3.0,>=2024.2.0, but you have fenics-ufl 2024.3.0.dev0 which is incompatible.
I started installing from the source because this code from the homepage (below) gave me a series of errors about missing functions when trying to run the poisson demo, and I hoped manually installing the most up-to-date dependencies could get around those errors.