Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

import netgen.gui

More
4 years 2 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?
Code:
import netgen.gui from ngsolve import * from netgen.geom2d import unit_square %gui tk
More
4 years 2 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
The following user(s) said Thank You: nsc
More
4 years 2 months ago #2424 by nsc
Replied by nsc on topic import netgen.gui
Thank you so much! I totally missed that.
Had to downgrade my ipykernel but now it works like a charm.
Time to create page: 0.152 seconds