While attempting to run the real_function_space.py demo for scifem https://scientificcomputing.github.io/scifem/_sources/examples/real_function_space.py, I ran into the error below:
Traceback (most recent call last):
File "/home/lmolel/work/ssb/real_function_space.py", line 83, in <module>
R = create_real_functionspace(mesh)
File "/home/lmolel/miniforge3/envs/fea-env/lib/python3.13/site-packages/scifem/__init__.py", line 55, in create_real_functionspace
cppV = _scifem.create_real_functionspace_float64(mesh._cpp_object, value_shape)
TypeError: create_real_functionspace_float64(): incompatible function arguments. The following argument types are supported:
1. create_real_functionspace_float64(arg0: dolfinx::mesh::Mesh<double>, arg1: collections.abc.Sequence[int], /) -> dolfinx::fem::FunctionSpace<double>
Invoked with types: dolfinx.cpp.mesh.Mesh_float64, tuple
Here’s my versions for relevant conda environment packages
fenics-basix 0.9.0 py313h867a91d_2 conda-forge
fenics-basix-nanobind-abi 0.2.1.13 h6c05e69_2 conda-forge
fenics-dolfinx 0.9.0 py313h0eadd0b_104 conda-forge
fenics-ffcx 0.9.0 pyh2e48890_0 conda-forge
fenics-libbasix 0.9.0 h7cb7ce6_2 conda-forge
fenics-libdolfinx 0.9.0 h6dcf0a6_104 conda-forge
fenics-ufcx 0.9.0 hb7f7608_0 conda-forge
fenics-ufl 2024.2.0 pyhd8ed1ab_0 conda-forge
scifem 0.3.0 pypi_0 pypi
Is there a version of scifem that is compatible with dolfinx 0.9.0