Re: Installation problem on Ubuntu 10.04

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 12 2010 - 10:39:00 MDT

Hi Andrea,

This could be a simple path problem. The pynglex problem is something different.

What does:

  which python

report, and where did you untar the PyNGL tar file from?

You need to untar it in the *root* directory of where python resides.

For example, if "which python" reports "/usr//bin", then
the root directory is "/usr" (and NOT /usr/bin or /usr/lib).

This means you should be in /usr when you untar the file.

To fix pynglex, you can edit the file directory and change
/d2/haley/external/bin/python2.6 to /usr/bin/python.

It sounds like your python installation is in /usr. Do you
see anything if you type:

   ls /usr/lib/python2.6/site-packages


   ls /usr/lib/python2.6/site-packages/PyNGL



On Aug 12, 2010, at 1:32 AM, Andrea Cimatoribus wrote:

> Dear users,
> I'm not even a beginner of PyNGL/PyNIO, so please forgive me if the
> question is silly.
> I am trying to install PyNGL/PyNIO on my machine running Ubuntu 10.04. I
> am running python 2.6 and gcc 4.4 (which I think is not supposed to be
> supported by the binaries you provide).
> I followed the installation instructions, but I can't get the modules
> working. If I issue "import Ngl" into python, I get "ImportError: No
> module named Ngl. If I try to run "pynglex ngl01p" I get:
> zsh: /usr/bin/pynglex: bad interpreter:
> /d2/haley/external/bin/python2.6: no file or directory
> This latter error makes me suspect that the problem is not with gcc, but
> with some environmental variable that is not properly set (there is no
> such directory as /d2/haley... on my machine).
> The installation directory is /usr/lib/python2.6... as the guide
> assumes, so I guess this shouldn't be a problem.
> What am I missing? Do I need to set up some variable?
> Thanks for your help,
> Andrea
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:

pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Thu Aug 12 10:39:03 2010

This archive was generated by hypermail 2.1.8 : Fri Aug 13 2010 - 15:07:13 MDT