Hello! I am a beginner user of Fenicsx software and I am having problems. I installed the program through Docker, and the Python version is 3.12.3. I am using it through VS Code, as shown in Anton Evdokimov’s video (Fast and Clean Way to Start with FEniCSx – Open Source FEM in Docker). I am using it as a Jupyter notebook, and when I try to run the first Poisson equation tutorial, I get the following error:
Error_L2 : 8.24e-03
Error_max : 3.55e-15
trame
2026-03-10 01:17:59.654 ( 2.122s) [ 73E55DFD4140]vtkXOpenGLRenderWindow.:1460 WARN| bad X server connection. DISPLAY=
Error rendering output item using ‘jupyter-ipywidget-renderer’
Cannot read properties of undefined (reading ‘ipywidgetsKernel’)
Error rendering output item using ‘jupyter-ipywidget-renderer’
Cannot read properties of undefined (reading ‘ipywidgetsKernel’)
Error rendering output item using ‘jupyter-ipywidget-renderer’
Cannot read properties of undefined (reading ‘ipywidgetsKernel’)
Could someone kindly assist me? Sincerely, Renato.
Hello dokken, thank you for your attention. My operating system is Windows 10; the image I am using is dolfinx/dolfinx:stable; Yes, I clicked on attach to running container and selected dolfinx-env (Python 3.12.3) as the Python kernel.
Interestingly, when I tried to run it today, it worked! I didn’t do anything differently; I think the packages I installed yesterday weren’t running. Thank you again for your attention, and I apologize for the inconvenience.