Git Product home page Git Product logo

ifem's People

Contributors

chrlackner avatar jschoeberl avatar mhochsteger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ifem's Issues

ModuleNotFoundError on Binder

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.