Re: Problems inporting Nio and Ngl

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Sep 15 2009 - 08:19:26 MDT

On Tue, 15 Sep 2009, Schwedler, Benjamin wrote:

> On a new install of PyNGL and PyNIO, I am experiencing a problem similar
> to one posted to the list back in April.
>
> #python
> Python 2.5.2 (r252:60911, Jun 29 2009, 10:06:38)
> [GCC 4.4.0] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import Ngl
> >>> dir(Ngl)
> ['__builtins__', '__doc__', '__file__', '__name__', '__path__']
> >>> import Nio
> >>> dir(Nio)
> ['__builtins__', '__doc__', '__file__', '__name__', '__path__']
>
> The following symlinks were created in the site-packages directory.
>
> Ngl -> PyNGL
> Ngl.pth -> PyNGL.pth
> Nio -> PyNIO
> Nio.pth -> PyNIO.pth
>
> There was a suggestion in April that the symlinks may be the problem. Is
> this the case?
>
> Thanks for the help.
>
> Ben

Hi Ben,

I'm not sure if the symlinks should work, but they could very well
be confusing things.

I would remove the "Ngl" and "Nio" symlinks.

Make sure Ngl.pth and Nio.pth have just one line each, containing
"PyNGL" and "PyNIO" respectively (without the quotes).

--Mary

> --
> Benjamin R. J. Schwedler
>
> _______________________________________________
> 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 Tue, 15 Sep 2009 08:19:26 -0600 (MDT)

This archive was generated by hypermail 2.1.8 : Mon Nov 02 2009 - 09:14:15 MST