Re: 'import Nio' doesn't work

From: Max Maahn <maahn_at_nyahnyahspammersnyahnyah>
Date: Thu Sep 09 2010 - 05:46:26 MDT

Hi Mary,

thanks for your help. No, these files are not installed. However
creating them doesn't help much... I built PyNIO and NGL from the source
code.

Max

In [2]: import Nio
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)

/usr/local/lib64/python2.6/site-packages/<ipython console> in <module>()

/usr/local/lib64/python2.6/site-packages/PyNIO/Nio.py in <module>()
     61 '''
     62
---> 63 from nio import *
     64 from nio import _C_API
     65

ImportError: /usr/local/lib64/python2.6/site-packages/PyNIO/nio.so:
undefined symbol: sd_ncvarinq

In [3]: import Ngl
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)

/usr/local/lib64/python2.6/site-packages/<ipython console> in <module>()

/usr/local/lib64/python2.6/site-packages/PyNGL/Ngl.py in <module>()
     36
     37 # PyNGL analysis functions

---> 38 import fplib
     39
     40 import sys

ImportError: /usr/local/lib64/python2.6/site-packages/PyNGL/fplib.so:
undefined symbol: _gfortran_st_write_done

In [4]:

Am 09.09.2010 13:36, schrieb Mary Haley:
> Hi Max,
>
> Do you have a "Nio.pth" and "Ngl.pth" file in /usr/local/lib64/python2.6/site-packages?
>
> If you don't, this may be the problem. I'm not sure why they wouldn't be there.
>
> These files need to be there, with just "PyNGL" (without the quotes) in the Ngl.path file, and "PyNIO" in the Nio.pth file.
>
> Did you build from source code or install from a precompiled binary?
>
> --Mary
>
>

-- 
Max Maahn
Meteorologisches Institut Universität Bonn, R.011
Auf dem Huegel 20
D-53121 Bonn
+49 228 73 5108
maahn@uni-bonn.de
_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Thu Sep 9 05:46:32 2010

This archive was generated by hypermail 2.1.8 : Mon Oct 04 2010 - 09:57:00 MDT