jschoeberl / ifem Goto Github PK
View Code? Open in Web Editor NEWInteractive FEM Course
Interactive FEM Course
When I am trying to run examples on binder, in most of the notebooks there is a ModuleNotFoundError. This is e.g. the output from running first_example.ipynb:
# load Netgen/NGSolve
from ngsolve import *
from ngsolve.webgui import Draw
from netgen.webgui import Draw as DrawGeo
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
/tmp/ipykernel_60/1097142826.py in <module>
2 from ngsolve import *
3 from ngsolve.webgui import Draw
----> 4 from netgen.webgui import Draw as DrawGeo
ModuleNotFoundError: No module named 'netgen.webgui'
# unit_square is the predefined domain (0,1)^2
from netgen.occ import unit_square
DrawGeo(unit_square.shape)
mesh = Mesh(unit_square.GenerateMesh(maxh=0.2))
Draw (mesh);
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
/tmp/ipykernel_60/990217587.py in <module>
1 # unit_square is the predefined domain (0,1)^2
----> 2 from netgen.occ import unit_square
3 DrawGeo(unit_square.shape)
4
5 mesh = Mesh(unit_square.GenerateMesh(maxh=0.2))
/srv/conda/envs/notebook/lib/python3.7/site-packages/netgen/occ.py in <module>
----> 1 from .libngpy._NgOCC import *
2 from .meshing import meshsize
ModuleNotFoundError: No module named 'netgen.libngpy._NgOCC'; 'netgen.libngpy' is not a package
The imports that cause the error were added in October last year, so maybe something has to be added to the binder configuration?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.