AttributeError: module ‘ufl.sobolevspace’ has no attribute ‘HInf’

Hi, I installed FEniCSx with Conda on my Mac but I can’t even run demo_poisson either because seems fenics seems non to be present when I import it when I run it using PyCharm or because I’m given the following error when I run it directly using terminal: File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/basix/ufl.py”, line 22, in
_basix.SobolevSpace.HInf: _ufl.sobolevspace.HInf,
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module ‘ufl.sobolevspace’ has no attribute ‘HInf’
What should I do?
Thanks in advance

Seems like you have an incompatible version of ufl.

Please add the full stack trace of your error message, along with the trace of conda env export .

(fenicsx-env) niccolobaldi@MacBook-Pro-di-Niccolo Desktop % python demo_poisson.py
Traceback (most recent call last):
File “/Users/niccolobaldi/Desktop/demo_poisson.py”, line 74, in
from dolfinx import fem, io, mesh, plot
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/dolfinx/init.py”, line 40, in
from dolfinx import fem, geometry, graph, io, jit, la, log, mesh, nls, plot
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/dolfinx/fem/init.py”, line 11, in
from dolfinx.fem.assemble import (apply_lifting, assemble_matrix,
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/dolfinx/fem/assemble.py”, line 22, in
from dolfinx.fem.forms import Form
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/dolfinx/fem/forms.py”, line 17, in
from dolfinx import default_scalar_type, jit
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/dolfinx/jit.py”, line 17, in
import ffcx.codegeneration.jit
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/ffcx/codegeneration/jit.py”, line 21, in
import ffcx.naming
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/ffcx/naming.py”, line 16, in
from .element_interface import convert_element
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/ffcx/element_interface.py”, line 12, in
import basix.ufl
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/basix/ufl.py”, line 22, in
_basix.SobolevSpace.HInf: _ufl.sobolevspace.HInf,
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module ‘ufl.sobolevspace’ has no attribute ‘HInf’

What does python3 -c "import ufl; print(ufl)" give you, and what about

(fenicsx-env) niccolobaldi@MacBook-Pro-di-Niccolo Desktop % python3 -c “import ufl; print(ufl)”

<module ‘ufl’ from ‘/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/ufl/init.py’>
I don’t what’s the trace of an environment export

Could you print the output of import ufl; print(ufl.__version__) and the same for dolfinx.

I would like to see the printout of all packages installed by conda and their versions.

Ok. That’s the output for dolfinx: (fenicsx-env) niccolobaldi@MacBook-Pro-di-Niccolo Desktop % python3 -c “import dolfinx; print(dolfinx)”
Traceback (most recent call last):
File “”, line 1, in
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/dolfinx/init.py”, line 40, in
from dolfinx import fem, geometry, graph, io, jit, la, log, mesh, nls, plot
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/dolfinx/fem/init.py”, line 11, in
from dolfinx.fem.assemble import (apply_lifting, assemble_matrix,
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/dolfinx/fem/assemble.py”, line 22, in
from dolfinx.fem.forms import Form
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/dolfinx/fem/forms.py”, line 17, in
from dolfinx import default_scalar_type, jit
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/dolfinx/jit.py”, line 17, in
import ffcx.codegeneration.jit
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/ffcx/codegeneration/jit.py”, line 21, in
import ffcx.naming
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/ffcx/naming.py”, line 16, in
from .element_interface import convert_element
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/ffcx/element_interface.py”, line 12, in
import basix.ufl
File “/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/basix/ufl.py”, line 22, in
_basix.SobolevSpace.HInf: _ufl.sobolevspace.HInf,
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module ‘ufl.sobolevspace’ has no attribute ‘HInf’

And that’s for ufl: (fenicsx-env) niccolobaldi@MacBook-Pro-di-Niccolo Desktop % python3 -c “import ufl; print(ufl)”

<module ‘ufl’ from ‘/opt/anaconda3/envs/fenicsx-env/lib/python3.12/site-packages/ufl/init.py’>

Last here there is the complete list of packages installed using Conda:
(fenicsx-env) niccolobaldi@MacBook-Pro-di-Niccolo Desktop % conda list

packages in environment at /opt/anaconda3/envs/fenicsx-env:

Name Version Build Channel

aiohttp 3.9.3 py312h41838bb_1 conda-forge
aiosignal 1.3.1 pyhd8ed1ab_0 conda-forge
anyio 4.2.0 py312hecd8cb5_0
aom 3.8.2 h73e2aa4_0 conda-forge
appnope 0.1.3 py312hecd8cb5_1001
argon2-cffi 21.3.0 pyhd3eb1b0_0
argon2-cffi-bindings 21.2.0 py312h6c40b1e_0
asttokens 2.0.5 pyhd3eb1b0_0
async-lru 2.0.4 py312hecd8cb5_0
attrs 23.2.0 pyh71513ae_0 conda-forge
babel 2.11.0 py312hecd8cb5_0
beautifulsoup4 4.12.2 py312hecd8cb5_0
bleach 4.1.0 pyhd3eb1b0_0
blosc 1.21.5 heccf04b_0 conda-forge
brotli 1.1.0 h0dc2134_1 conda-forge
brotli-bin 1.1.0 h0dc2134_1 conda-forge
brotli-python 1.1.0 py312heafc425_1 conda-forge
bzip2 1.0.8 h10d778d_5 conda-forge
c-ares 1.27.0 h10d778d_0 conda-forge
c-blosc2 2.13.2 h0ae8482_0 conda-forge
ca-certificates 2024.3.11 hecd8cb5_0
cairo 1.18.0 h99e66fa_0 conda-forge
cctools_osx-64 986 ha1c5b94_0 conda-forge
certifi 2024.2.2 pyhd8ed1ab_0 conda-forge
cffi 1.16.0 py312h38bf5a0_0 conda-forge
charset-normalizer 3.3.2 pyhd8ed1ab_0 conda-forge
clang 16.0.6 hdae98eb_5 conda-forge
clang-16 16.0.6 default_h7151d67_5 conda-forge
clang_impl_osx-64 16.0.6 h8787910_10 conda-forge
clang_osx-64 16.0.6 hb91bd55_10 conda-forge
clangxx 16.0.6 default_h7151d67_5 conda-forge
clangxx_impl_osx-64 16.0.6 h6d92fbe_10 conda-forge
clangxx_osx-64 16.0.6 hb91bd55_10 conda-forge
comm 0.2.1 py312hecd8cb5_0
compiler-rt 16.0.6 ha38d28d_2 conda-forge
compiler-rt_osx-64 16.0.6 ha38d28d_2 conda-forge
contourpy 1.2.0 py312hbf0bb39_0 conda-forge
cycler 0.12.1 pyhd8ed1ab_0 conda-forge
dav1d 1.2.1 h0dc2134_0 conda-forge
debugpy 1.6.7 py312hcec6c5f_0
decorator 5.1.1 pyhd3eb1b0_0
defusedxml 0.7.1 pyhd3eb1b0_0
double-conversion 3.3.0 he965462_0 conda-forge
eigen 3.4.0 h1c7c39f_0 conda-forge
executing 0.8.3 pyhd3eb1b0_0
expat 2.5.0 hf0c8a7f_1 conda-forge
fenics 2019.1.0 pypi_0 pypi
fenics-basix 0.7.0 py312ha2fc93b_1 conda-forge
fenics-basix-pybind11-abi 0.4.16 h60f76af_1 conda-forge
fenics-dijitso 2019.1.0 pypi_0 pypi
fenics-dolfinx 0.7.3 py312hae130cc_101 conda-forge
fenics-ffc 2019.1.0.post0 pypi_0 pypi
fenics-ffcx 0.7.0 pyh4af843d_0 conda-forge
fenics-fiat 2019.1.0 pypi_0 pypi
fenics-libbasix 0.7.0 h8074f5a_1 conda-forge
fenics-libdolfinx 0.7.3 h9158aaa_101 conda-forge
fenics-ufcx 0.7.0 h4af843d_0 conda-forge
fenics-ufl 2019.1.0 pypi_0 pypi
ffmpeg 6.1.1 gpl_h71b6f88_106 conda-forge
fftw 3.3.10 mpi_mpich_h4a8b384_8 conda-forge
fltk 1.3.9 he73b29e_0 conda-forge
font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge
font-ttf-inconsolata 3.000 h77eed37_0 conda-forge
font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge
font-ttf-ubuntu 0.83 h77eed37_1 conda-forge
fontconfig 2.14.2 h5bb23bf_0 conda-forge
fonts-conda-ecosystem 1 0 conda-forge
fonts-conda-forge 1 0 conda-forge
fonttools 4.49.0 py312h41838bb_0 conda-forge
freeimage 3.18.0 hdc0ade2_20 conda-forge
freetype 2.12.1 h60636b9_2 conda-forge
fribidi 1.0.10 hbcb3906_0 conda-forge
frozenlist 1.4.1 py312h41838bb_0 conda-forge
gettext 0.21.1 h8a4c099_0 conda-forge
gl2ps 1.4.2 h4cff582_0 conda-forge
glew 2.1.0 h046ec9c_2 conda-forge
glib 2.80.0 h81c1438_0 conda-forge
glib-tools 2.80.0 h49a7eea_0 conda-forge
gmp 6.3.0 h73e2aa4_1 conda-forge
gmsh 4.12.2 h48a2193_0 conda-forge
gnutls 3.7.9 h1951705_0 conda-forge
graphite2 1.3.13 h2e338ed_1001 conda-forge
gst-plugins-base 1.22.9 h3fb38fc_0 conda-forge
gstreamer 1.22.9 hf63bbb8_0 conda-forge
harfbuzz 8.3.0 hf45c392_0 conda-forge
hdf4 4.2.15 h8138101_7 conda-forge
hdf5 1.14.3 mpi_mpich_h859952d_0 conda-forge
hypre 2.28.0 mpi_mpich_h5eb2ec2_0 conda-forge
icu 73.2 hf5e326d_0 conda-forge
idna 3.6 pyhd8ed1ab_0 conda-forge
imath 3.1.11 h2d185b6_0 conda-forge
ipykernel 6.28.0 py312hecd8cb5_0
ipython 8.20.0 py312hecd8cb5_0
ipywidgets 8.1.2 py312hecd8cb5_0
jedi 0.18.1 py312hecd8cb5_1
jinja2 3.1.3 py312hecd8cb5_0
json5 0.9.6 pyhd3eb1b0_0
jsoncpp 1.9.5 h940c156_1 conda-forge
jsonschema 4.19.2 py312hecd8cb5_0
jsonschema-specifications 2023.7.1 py312hecd8cb5_0
jupyter 1.0.0 py312hecd8cb5_9
jupyter-lsp 2.2.0 py312hecd8cb5_0
jupyter_client 8.6.0 py312hecd8cb5_0
jupyter_console 6.6.3 py312hecd8cb5_1
jupyter_core 5.5.0 py312hecd8cb5_0
jupyter_events 0.8.0 py312hecd8cb5_0
jupyter_server 2.10.0 py312hecd8cb5_0
jupyter_server_terminals 0.4.4 py312hecd8cb5_1
jupyterlab 4.0.11 py312hecd8cb5_0
jupyterlab_pygments 0.1.2 py_0
jupyterlab_server 2.25.1 py312hecd8cb5_0
jupyterlab_widgets 3.0.10 py312hecd8cb5_0
jxrlib 1.1 h10d778d_3 conda-forge
kahip 3.16 h0bf8452_2 conda-forge
kahip-python 3.16 py312h6776d0c_2 conda-forge
kiwisolver 1.4.5 py312h49ebfd2_1 conda-forge
krb5 1.21.2 hb884880_0 conda-forge
lame 3.100 hb7f2c08_1003 conda-forge
lcms2 2.16 ha2f27b4_0 conda-forge
ld64_osx-64 711 ha20a434_0 conda-forge
lerc 4.0.0 hb486fe8_0 conda-forge
libabseil 20240116.1 cxx17_hc1bcbd7_2 conda-forge
libadios2 2.9.2 mpi_mpich_h430b6c2_1 conda-forge
libaec 1.1.2 he965462_1 conda-forge
libass 0.17.1 h80904bb_1 conda-forge
libblas 3.9.0 21_osx64_openblas conda-forge
libboost 1.82.0 hf0c313a_6 conda-forge
libboost-devel 1.82.0 h1c7c39f_6 conda-forge
libboost-headers 1.82.0 h694c41f_6 conda-forge
libbrotlicommon 1.1.0 h0dc2134_1 conda-forge
libbrotlidec 1.1.0 h0dc2134_1 conda-forge
libbrotlienc 1.1.0 h0dc2134_1 conda-forge
libcblas 3.9.0 21_osx64_openblas conda-forge
libclang 15.0.7 default_h6b1ee41_4 conda-forge
libclang-cpp16 16.0.6 default_h7151d67_5 conda-forge
libclang13 15.0.7 default_h89cd682_4 conda-forge
libcurl 8.6.0 h726d00d_0 conda-forge
libcxx 16.0.6 hd57cbcb_0 conda-forge
libdeflate 1.19 ha4e1b8e_0 conda-forge
libedit 3.1.20191231 h0678c8f_2 conda-forge
libev 4.33 h10d778d_2 conda-forge
libexpat 2.5.0 hf0c8a7f_1 conda-forge
libffi 3.4.2 h0d85af4_5 conda-forge
libgfortran 5.0.0 13_2_0_h97931a8_3 conda-forge
libgfortran5 13.2.0 h2873a65_3 conda-forge
libglib 2.80.0 h81c1438_0 conda-forge
libhwloc 2.9.3 default_h24e0189_1009 conda-forge
libiconv 1.17 hd75f5a5_2 conda-forge
libidn2 2.3.7 h10d778d_0 conda-forge
libjpeg-turbo 3.0.0 h0dc2134_1 conda-forge
liblapack 3.9.0 21_osx64_openblas conda-forge
libllvm15 15.0.7 hbedff68_4 conda-forge
libllvm16 16.0.6 hbedff68_3 conda-forge
libnetcdf 4.9.2 nompi_h7760872_113 conda-forge
libnghttp2 1.58.0 h64cf6d3_1 conda-forge
libogg 1.3.4 h35c211d_1 conda-forge
libopenblas 0.3.26 openmp_hfef2a42_0 conda-forge
libopenvino 2024.0.0 h113ac47_3 conda-forge
libopenvino-auto-batch-plugin 2024.0.0 h9adb129_3 conda-forge
libopenvino-auto-plugin 2024.0.0 h9adb129_3 conda-forge
libopenvino-hetero-plugin 2024.0.0 hfe2fe54_3 conda-forge
libopenvino-intel-cpu-plugin 2024.0.0 h113ac47_3 conda-forge
libopenvino-ir-frontend 2024.0.0 hfe2fe54_3 conda-forge
libopenvino-onnx-frontend 2024.0.0 h1a3ed6a_3 conda-forge
libopenvino-paddle-frontend 2024.0.0 h1a3ed6a_3 conda-forge
libopenvino-pytorch-frontend 2024.0.0 hd427752_3 conda-forge
libopenvino-tensorflow-frontend 2024.0.0 h7d3639a_3 conda-forge
libopenvino-tensorflow-lite-frontend 2024.0.0 hd427752_3 conda-forge
libopus 1.3.1 hc929b4f_1 conda-forge
libpng 1.6.43 h92b6c6a_0 conda-forge
libpq 16.2 ha925e61_0 conda-forge
libprotobuf 4.25.3 h4e4d658_0 conda-forge
libptscotch 7.0.4 hbfd41b9_1 conda-forge
libraw 0.21.1 h8138101_2 conda-forge
libscotch 7.0.4 h6959927_1 conda-forge
libsodium 1.0.18 hbcb3906_1 conda-forge
libsqlite 3.45.2 h92b6c6a_0 conda-forge
libssh2 1.11.0 hd019ec5_0 conda-forge
libtasn1 4.19.0 hb7f2c08_0 conda-forge
libtheora 1.1.1 h0d85af4_1005 conda-forge
libtiff 4.6.0 h684deea_2 conda-forge
libunistring 0.9.10 h0d85af4_0 conda-forge
libvorbis 1.3.7 h046ec9c_0 conda-forge
libvpx 1.14.0 h73e2aa4_0 conda-forge
libwebp-base 1.3.2 h0dc2134_0 conda-forge
libxcb 1.15 hb7f2c08_0 conda-forge
libxml2 2.12.6 hc0ae0f7_0 conda-forge
libzip 1.10.1 hc158999_3 conda-forge
libzlib 1.2.13 h8a1eda9_5 conda-forge
llvm-openmp 18.1.1 hb6ac08f_0 conda-forge
llvm-tools 16.0.6 hbedff68_3 conda-forge
loguru 0.7.2 py312hb401068_1 conda-forge
lz4-c 1.9.4 hf0c8a7f_0 conda-forge
markupsafe 2.1.3 py312h6c40b1e_0
matplotlib-base 3.8.3 py312h1fe5000_0 conda-forge
matplotlib-inline 0.1.6 py312hecd8cb5_0
metis 5.1.0 he965462_1007 conda-forge
mistune 2.0.4 py312hecd8cb5_0
mpfr 4.2.1 h0c69b56_0 conda-forge
mpi 1.0 mpich conda-forge
mpi4py 3.1.5 py312h9f63fdf_1 conda-forge
mpich 4.2.0 hd33e60e_100 conda-forge
mpmath 1.3.0 pypi_0 pypi
multidict 6.0.5 py312h97956c7_0 conda-forge
mumps-include 5.6.2 h694c41f_4 conda-forge
mumps-mpi 5.6.2 h4b01c3c_4 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
mysql-common 8.0.33 h1d20c9b_6 conda-forge
mysql-libs 8.0.33 hed35180_6 conda-forge
nbclient 0.8.0 py312hecd8cb5_0
nbconvert 7.10.0 py312hecd8cb5_0
nbformat 5.9.2 py312hecd8cb5_0
ncurses 6.4 h93d8f39_2 conda-forge
nest-asyncio 1.6.0 py312hecd8cb5_0
nettle 3.9.1 h8e11ae5_0 conda-forge
nlohmann_json 3.11.2 hbbd2c75_0 conda-forge
notebook 7.0.8 py312hecd8cb5_0
notebook-shim 0.2.3 py312hecd8cb5_0
nspr 4.35 hea0b92c_0 conda-forge
nss 3.98 ha05da47_0 conda-forge
numpy 1.26.4 py312he3a82b2_0 conda-forge
occt 7.7.2 all_hd7ce604_201 conda-forge
openexr 3.2.2 h3f0570e_1 conda-forge
openh264 2.4.1 h73e2aa4_0 conda-forge
openjpeg 2.5.2 h7310d3a_0 conda-forge
openssl 3.2.1 hd75f5a5_1 conda-forge
overrides 7.4.0 py312hecd8cb5_0
p11-kit 0.24.1 h65f8906_0 conda-forge
packaging 24.0 pyhd8ed1ab_0 conda-forge
pandocfilters 1.5.0 pyhd3eb1b0_0
parmetis 4.0.3 hb7fa8f8_1005 conda-forge
parso 0.8.3 pyhd3eb1b0_0
pcre2 10.43 h0ad2156_0 conda-forge
petsc 3.20.5 real_he4ff8f5_100 conda-forge
petsc4py 3.20.5 real_he2a4a3c_100 conda-forge
pexpect 4.8.0 pyhd3eb1b0_3
pillow 10.2.0 py312h0c70c2f_0 conda-forge
pip 24.0 pyhd8ed1ab_0 conda-forge
pixman 0.43.4 h73e2aa4_0 conda-forge
pkg-config 0.29.2 ha3d46e9_1008 conda-forge
platformdirs 4.2.0 pyhd8ed1ab_0 conda-forge
ply 3.11 py312hecd8cb5_1
pooch 1.8.1 pyhd8ed1ab_0 conda-forge
proj 9.3.1 h81faed2_0 conda-forge
prometheus_client 0.14.1 py312hecd8cb5_0
prompt-toolkit 3.0.43 py312hecd8cb5_0
prompt_toolkit 3.0.43 hd3eb1b0_0
psutil 5.9.0 py312h6c40b1e_0
pthread-stubs 0.4 hc929b4f_1001 conda-forge
ptscotch 7.0.4 h40132e6_1 conda-forge
ptyprocess 0.7.0 pyhd3eb1b0_2
pugixml 1.14 he965462_0 conda-forge
pure_eval 0.2.2 pyhd3eb1b0_0
pybind11-abi 4 hd8ed1ab_3 conda-forge
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pygments 2.15.1 py312hecd8cb5_1
pyparsing 3.1.2 pyhd8ed1ab_0 conda-forge
pyqt 5.15.10 py312hcec6c5f_0
pyqt5-sip 12.13.0 py312h6c40b1e_0
pysocks 1.7.1 pyha2e5f31_6 conda-forge
python 3.12.2 h9f0c242_0_cpython conda-forge
python-dateutil 2.9.0 pyhd8ed1ab_0 conda-forge
python-fastjsonschema 2.16.2 py312hecd8cb5_0
python-json-logger 2.0.7 py312hecd8cb5_0
python_abi 3.12 4_cp312 conda-forge
pytz 2023.3.post1 py312hecd8cb5_0
pyvista 0.43.4 pyhd8ed1ab_0 conda-forge
pyyaml 6.0.1 py312h6c40b1e_0
pyzmq 25.1.2 py312hcec6c5f_0
qt-main 5.15.8 h4385fff_19 conda-forge
qtconsole 5.5.1 py312hecd8cb5_0
qtpy 2.4.1 py312hecd8cb5_0
rapidjson 1.1.0 hb1e8313_1002 conda-forge
readline 8.2 h9e318b2_1 conda-forge
referencing 0.30.2 py312hecd8cb5_0
requests 2.31.0 pyhd8ed1ab_0 conda-forge
rfc3339-validator 0.1.4 py312hecd8cb5_0
rfc3986-validator 0.1.1 py312hecd8cb5_0
rpds-py 0.10.6 py312hf2ad997_0
scalapack 2.2.0 hc746714_1 conda-forge
scooby 0.9.2 pyhd8ed1ab_0 conda-forge
scotch 7.0.4 h40132e6_1 conda-forge
send2trash 1.8.2 py312hecd8cb5_0
setuptools 69.2.0 pyhd8ed1ab_0 conda-forge
sigtool 0.1.3 h88f4db0_0 conda-forge
sip 6.7.12 py312hcec6c5f_0
six 1.16.0 pyh6c4a22f_0 conda-forge
slepc 3.20.2 real_hb98c930_100 conda-forge
slepc4py 3.20.2 real_h0f86a19_100 conda-forge
snappy 1.1.10 h225ccf5_0 conda-forge
sniffio 1.3.0 py312hecd8cb5_0
soupsieve 2.5 py312hecd8cb5_0
sqlite 3.45.2 h7461747_0 conda-forge
stack_data 0.2.0 pyhd3eb1b0_0
suitesparse 5.10.1 h4bf45ed_3 conda-forge
superlu 5.2.2 h1f0f902_0 conda-forge
superlu_dist 8.2.1 h5dcc28f_1 conda-forge
svt-av1 1.8.0 h93d8f39_0 conda-forge
sympy 1.12 pypi_0 pypi
tapi 1100.0.11 h9ce4665_0 conda-forge
tbb 2021.11.0 h7728843_1 conda-forge
tbb-devel 2021.11.0 ha56d2d7_1 conda-forge
terminado 0.17.1 py312hecd8cb5_0
tinycss2 1.2.1 py312hecd8cb5_0
tk 8.6.13 h1abcd95_1 conda-forge
tornado 6.3.3 py312h6c40b1e_0
traitlets 5.7.1 py312hecd8cb5_0
typing-extensions 4.9.0 py312hecd8cb5_1
typing_extensions 4.9.0 py312hecd8cb5_1
tzdata 2024a h0c530f3_0 conda-forge
urllib3 2.2.1 pyhd8ed1ab_0 conda-forge
utfcpp 4.0.5 h694c41f_0 conda-forge
vtk 9.2.6 qt_py312h1234567_220 conda-forge
vtk-base 9.2.6 qt_py312h1234567_220 conda-forge
vtk-io-ffmpeg 9.2.6 qt_py312h1234567_220 conda-forge
wcwidth 0.2.5 pyhd3eb1b0_0
webencodings 0.5.1 py312hecd8cb5_2
websocket-client 0.58.0 py312hecd8cb5_4
wheel 0.42.0 pyhd8ed1ab_0 conda-forge
widgetsnbextension 4.0.10 py312hecd8cb5_0
wslink 1.12.4 pyhd8ed1ab_0 conda-forge
x264 1!164.3095 h775f41a_2 conda-forge
x265 3.5 hbb4e6a2_3 conda-forge
xorg-fixesproto 5.0 h0d85af4_1002 conda-forge
xorg-kbproto 1.0.7 h35c211d_1002 conda-forge
xorg-libice 1.1.1 h0dc2134_0 conda-forge
xorg-libsm 1.2.4 h0dc2134_0 conda-forge
xorg-libx11 1.8.7 hbd0b022_0 conda-forge
xorg-libxau 1.0.11 h0dc2134_0 conda-forge
xorg-libxdmcp 1.1.3 h35c211d_0 conda-forge
xorg-libxext 1.3.4 hb7f2c08_2 conda-forge
xorg-libxfixes 5.0.3 h0d85af4_1004 conda-forge
xorg-libxrender 0.9.11 h0dc2134_0 conda-forge
xorg-renderproto 0.11.1 h0d85af4_1002 conda-forge
xorg-xextproto 7.3.0 hb7f2c08_1003 conda-forge
xorg-xproto 7.0.31 h35c211d_1007 conda-forge
xz 5.2.6 h775f41a_0 conda-forge
yaml 0.2.5 h0d85af4_2 conda-forge
yarl 1.9.4 py312h41838bb_0 conda-forge
zeromq 4.3.5 h93d8f39_0 conda-forge
zfp 0.5.5 h4a89273_8 conda-forge
zlib 1.2.13 h8a1eda9_5 conda-forge
zlib-ng 2.0.7 hb7f2c08_0 conda-forge
zstd 1.5.5 h829000d_0 conda-forge

You seem to have both legacy fenics and FEniCSx within the same env, which is non-compatible. Please make a separate environment for dolfinx.

Now it seems to work. Thank you so much!