I have a Mac running MacOS Mojave. I downloaded and installed Python 3.7 and Netgen according to the installation instructions. When I double click on Netgen in the Applications folder, I see the glimpse of a window, then nothing. Not sure what I am doing wrong.
open a terminal and start Netgen from there as
/Applications/Netgen.app/Contents/MacOS/netgen
Then you should see an error message.
best, Joachim
Here is the output:
**
~/% /Applications/Netgen.app/Contents/MacOS/netgen
dyld: Library not loaded: /Library/Frameworks/Python.framework/Versions/3.7/Python
Referenced from: /Applications/Netgen.app/Contents/MacOS/netgen
Reason: image not found
Abort
**
As noted above, I installed Python 3.7 by clicking on the link in the Netgen installation instructions for MacOS.
Can it be that you installed Python 3.8, and not Python 3.7 ?
What do you get when you enter
which python3
I get
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3
So, yes, I installed 3.8, but I did this by clicking on the ngsolve.org link for installing Python, which explicitly says 3.7.
I went to Python site and retrieved 3.7.5; works OK now.
I have similar problems.
When I type netgen in the terminal under MacOS, there is some error:
dyld: Library not loaded: /Library/Frameworks/Python.framework/Versions/3.8/Python
Referenced from: /Applications/Netgen.app/Contents/MacOS/netgen
Reason: image not found
[1] 73123 abort netgen
When I type which python3, it comes:
/usr/local/bin/python3
With the latest Version 2003 we switched to Python 3.8 on MacOS. See NGSolve Download page.
Joachim
I am getting this error
/Applications/Netgen.app/Contents/MacOS/startup.sh ; exit;
dyld: Symbol not found: __ZdaPvSt11align_val_t
Referenced from: /Applications/Netgen.app/Contents/MacOS/libngcore.dylib
Expected in: /usr/lib/libc++.1.dylib
in /Applications/Netgen.app/Contents/MacOS/libngcore.dylib
/Applications/Netgen.app/Contents/MacOS/startup.sh: line 10: 26830 Abort trap: 6 $Netgen_MACOS/netgen
I don’t know how to fix it. Please help.
Thank you.
I am getting this error. I have 3.8 python
/Applications/Netgen.app/Contents/MacOS/startup.sh ; exit;
dyld: Symbol not found: __ZdaPvSt11align_val_t
Referenced from: /Applications/Netgen.app/Contents/MacOS/libngcore.dylib
Expected in: /usr/lib/libc++.1.dylib
in /Applications/Netgen.app/Contents/MacOS/libngcore.dylib
/Applications/Netgen.app/Contents/MacOS/startup.sh: line 10: 26830 Abort trap: 6 $Netgen_MACOS/netgen
Please help to fix it. Thank you.