Re: 'import Nio' doesn't work

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Sep 09 2010 - 05:36:08 MDT

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

On Sep 8, 2010, at 12:59 PM, Max Maahn wrote:

> hi together,
>
> After a lot of trouble i managed to compile and install PyNIO and PyNGL
> successfully (on Suse Linux 11.1 x64), at least according to the output
> of setup.py.
>
> However, Python can't find a module named Nio (or Ngl). import PyNio and
> PyNGL does work, but not properly, e.g.:
>
>>>> dir(PyNGL)
> ['__builtins__', '__doc__', '__file__', '__name__', '__package__',
> '__path__']
>
> The files/dirs
> PyNGL
> PyNGL-1.3.1-py2.6.egg-info
> PyNIO
> PyNIO-1.4.0-py2.6.egg-info
>
> are in /usr/local/lib64/python2.6/site-packages, which is in sys.path...
>
> Any idea what went wrong?
>
> Thanks, Max
> --
> 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

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Thu Sep 9 05:36:13 2010

This archive was generated by hypermail 2.1.8 : Thu Sep 09 2010 - 15:43:50 MDT