- Thank you received: 3
Windows/Jupyter/Netgen GUI issue
3 years 5 months ago #3786
by ddrake
Windows/Jupyter/Netgen GUI issue was created by ddrake
Hi, I noticed something odd when trying to run the Poisson iTutorial in Jupyter on a Windows machine.
The notebook hangs executing the first Python command after importing the netgen.gui. No errors are reported in the jupyter console window. This is using the latest build and Python 3.7.9 (not Anaconda)
If the
line is moved to the end of the notebook, then each cell computes quickly, and the mesh and solution can be displayed in the Netgen GUI -- so we have a workaround. Also the webgui works fine.
Best,
Dow
The notebook hangs executing the first Python command after importing the netgen.gui. No errors are reported in the jupyter console window. This is using the latest build and Python 3.7.9 (not Anaconda)
If the
Code:
import netgen.gui
Best,
Dow
2 years 9 months ago #4168
by bfadness
Replied by bfadness on topic Windows/Jupyter/Netgen GUI issue
Dow, did you figure this out?
If I leave
at the beginning of the poisson notebook, then the notebook hangs. If I put the line in its own cell at the end of the notebook, then the kernel crashes, so I cannot display the mesh and solution in the Netgen GUI. Using
works fine. I am using the latest NGSolve and Python 3.10 on macOS.
Best,
Barry
If I leave
Code:
import netgen.gui
Code:
from ngsolve.webgui import Draw
Best,
Barry
Time to create page: 0.114 seconds