Netgen fails to launch under MacOS

More
4 years 10 months ago #1993 by BKFC
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.
More
4 years 10 months ago #1996 by joachim
open a terminal and start Netgen from there as

/Applications/Netgen.app/Contents/MacOS/netgen

Then you should see an error message.

best, Joachim
More
4 years 10 months ago #2001 by BKFC
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.
More
4 years 10 months ago #2002 by joachim
Can it be that you installed Python 3.8, and not Python 3.7 ?

What do you get when you enter

which python3
More
4 years 10 months ago #2028 by BKFC
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.
More
4 years 10 months ago #2031 by BKFC
I went to Python site and retrieved 3.7.5; works OK now.
Time to create page: 0.116 seconds