Hi everybody,
I tried to install Netgen on my MacOS by downloading NGSolve-6.2.1804.dmg. I dragged and dropped this file to my Applications folder and then added the following commands to my .bash_profile:
However when trying to start “netgen” in the command line, I get the following error message:
dyld: Library not loaded: @executable_path/…/Frameworks/Python.framework/Versions/3.6/Python
Referenced from: /Applications/Netgen.app/Contents/MacOS/netgen
Reason: image not found
Abort trap: 6
Then I noticed that there is no folder “Frameworks”:
$ cd NETGENDIR/..
pwd
/Applications/Netgen.app/Contents
$ ls
Info.plist MacOS Resources
Am I doing something completely wrong or is there a problem with the “NGSolve-6.2.1804.dmg” installation file?
Now I can successfully start “netgen”. However, when I try to import netgen or ngsolve to python3, it always crashes:
Python 3.6.5 |Anaconda, Inc.| (default, Apr 26 2018, 08:42:37)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
from ngsolve import *
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6
Do you might have another advice concerning this error?