Re: getting PyNgl installed...

From: Sourish Basu <S.Basu_at_nyahnyahspammersnyahnyah>
Date: Mon Nov 09 2009 - 08:54:05 MST
Hi Pascale,

    Can you verify that you have an environment variable called DYLD_LIBRARY_PATH, which is a list of directories, and that libgfortran.3.dylib is in one of those folders? For example, for me,


 $ ls /sw/lib/gcc4.4/lib/libgfortran.3.dylib


Pascale Gerbault wrote:
And when I try to import Ngl in python, I get the following message:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyNGL-1.3.0b1.macosx-10.5-i386-2.5/lib/python2.5/site-packages/PyNGL/", line 38, in <module>
    import fplib
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyNGL-1.3.0b1.macosx-10.5-i386-2.5/lib/python2.5/site-packages/PyNGL/, 2): Library not loaded: /usr/local/gfortran/lib/libgfortran.3.dylib
  Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyNGL-1.3.0b1.macosx-10.5-i386-2.5/lib/python2.5/site-packages/PyNGL/
  Reason: image not found

pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Mon Nov 9 08:53:25 2009

This archive was generated by hypermail 2.1.8 : Tue Dec 01 2009 - 09:32:36 MST