Install problem of PyNGL in Cygwin.

From: »Æƽ <ph0007_at_nyahnyahspammersnyahnyah>
Date: Wed, 17 Dec 2008 15:49:50 +0800

Hi all,

I tried install PyNGL (PyNGL-1.2.0.Cygwin-2.4.tar.gz) in Cygwin with Python 2.5.

And I got these following install information:
$ python setup.py install
running install
running build
running build_py
running install_lib
running install_data
running install_egg_info
Removing /usr/lib/python2.5/site-packages/PyNGL/PyNGL-1.2.0-py2.5.egg-info
Writing /usr/lib/python2.5/site-packages/PyNGL/PyNGL-1.2.0-py2.5.egg-info
creating /usr/lib/python2.5/site-packages/PyNGL.pth

I don't konw if these informations show the installation is successful.

But when I follow the "README.txt" try the example script ng101p.py, get this Error message:
$ pynglex ngl01p.py

Warning: You don't appear to have the NumPy version of PyNGL
         installed. I will try the Numeric version instead.

Error: You don't appear to have the Numeric version of PyNGL either.
                                                                              
I'm sure I have installed the NumPy package (version 1.0.4) and it works well.

And when I import Ngl in Python2.5 enviromnment, get following Error message:
$ python
Python 2.5.1 (r251:54863, May 18 2007, 16:56:43)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import Ngl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/PyNGL/Ngl.py", line 58, in <module>
    from hlu import *
  File "/usr/lib/python2.5/site-packages/PyNGL/hlu.py", line 7, in <module>
    import _hlu
ImportError: Permission denied
>>>

So what's the problem?

Thanks.

Huang Ping

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Wed Dec 17 2008 - 00:49:50 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 01 2009 - 08:39:20 MST