Hello,
I encounter an error while execution this command :
>>> from ngsolve import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/ngsolve/__init__.py", line 13, in <module>
from .ngslib import __version__, ngstd, bla, la, fem, comp, solve
ImportError: cannot import name 'fem' from 'ngsolve' (/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/ngsolve/ngslib.so)
I installed ngsolve via macports :
ngsolve @6.2.2004 (math)
NGSolve Finite Element Library
My configuration is a MacbookAir with Catalina 10.15.4
According to the line : from .ngslib import __version__, ngstd, bla, la, fem, comp, solve
and the error message, I tried :
nicolas$ nm -g /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/ngsolve/ngslib.so | grep fem
and I obtain :
U __Z11ExportNgfemRN8pybind116moduleE
so it seems there is no symbol fem in this .so
Thanks for your help
Nicolas.