- Thank you received: 0
import netgen.gui
4 years 9 months ago #2396
by nsc
import netgen.gui was created by nsc
Hi,
I am quite new to Netgen/NGSolve and have just started with the i-tutorails.
I have an issue with importing the gui. From the youtube tutorial I got the impression that the first lines of the first tutorial should open the netgen gui. When I run the first jupyter notebook cell (as seen in the code below) it does not open anything. However, starting netgen from the console works perfectly fine.
Is there something wrong with my installation, or is that supposed to work that way?
I am quite new to Netgen/NGSolve and have just started with the i-tutorails.
I have an issue with importing the gui. From the youtube tutorial I got the impression that the first lines of the first tutorial should open the netgen gui. When I run the first jupyter notebook cell (as seen in the code below) it does not open anything. However, starting netgen from the console works perfectly fine.
Is there something wrong with my installation, or is that supposed to work that way?
Code:
import netgen.gui
from ngsolve import *
from netgen.geom2d import unit_square
%gui tk
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
4 years 9 months ago #2405
by christopher
Replied by christopher on topic import netgen.gui
Do you get an error message in the console? Did you follow the instructions (regarding the ipykernel version) as described here:
ngsolve.org/docu/latest/install/usejupyter.html
Best
ngsolve.org/docu/latest/install/usejupyter.html
Best
The following user(s) said Thank You: nsc
Time to create page: 0.096 seconds