rossi
June 30, 2025, 10:13am
1
Hello,
I had successfully installed ngsolve and netgen using pip, but then when I tried
from ngsolve import *
I get the following error
ImportError: DLL load failed while importing ngslib: The specified module could not be found.
Tried to manually install ngslib but this fails because it uses python 2 commands in its setup.py
Python version is 3.13.5.
rossi
June 30, 2025, 11:45am
2
[Update]
I’ve installed version 6.2.2503, and now I can import ngsolve without problems.
However, now when I open GUI with import netgen.gui, it opens it but immediately becomes unresponsive.
Hi, rossi
I managed to reproduce your problem while running
import netgen.gui
inside the jupyter notebook. To open GUI just use command netgen
in the command line where your python distribution with ngsolve installed is available. You can also use netgen <filename>.py
to open geometry defined in some .py file.
Greetings
Adrian