[Tutor] Problem with Import

2007-03-02 Thread Nagendra Singh
Hi Alan, I had installed Python through cygwin and then installed Gdal from source. I have tried everything but it does not work, my guess is I am missing something trivial, I am planning to uninstall everything (Cygwin and Gdal) and then reinstall all of it again over the weekend, this is my last

Re: [Tutor] Problem with Import

2007-03-01 Thread Alan Gauld
"Nagendra Singh" <[EMAIL PROTECTED]> wrote > experimenting I found out that it works with Python 2.3 but not 2.4 >> > >>> import gdal >> > Traceback (most recent call last): >> > File "", line 1, in ? >> > File "/usr/lib/python2.4/site-packages/gdal.py", line 191, in ? >> > import _gdal

Re: [Tutor] Problem with Import

2007-03-01 Thread Nagendra Singh
Thanks for the suggestion, the Python path is correct. After a bit of experimenting I found out that it works with Python 2.3 but not 2.4 but I have no clue as to why. Nagendra On 2/28/07, Jalil <[EMAIL PROTECTED]> wrote: check your python path On 2/28/07, Nagendra Singh <[EMAIL PROTECTED]> w

Re: [Tutor] Problem with Import

2007-02-28 Thread Jalil
check your python path On 2/28/07, Nagendra Singh <[EMAIL PROTECTED]> wrote: Hi all, I am running python on Cygwin and I have also installed gdal which is a raster translator library. When I run the command import gdal, Python gives me an error : Python 2.4.3 (#1, May 18 2006, 07:40:45) [GCC

[Tutor] Problem with Import

2007-02-28 Thread Nagendra Singh
Hi all, I am running python on Cygwin and I have also installed gdal which is a raster translator library. When I run the command import gdal, Python gives me an error : Python 2.4.3 (#1, May 18 2006, 07:40:45) [GCC 3.3.3 (cygwin special)] on cygwin Type "help", "copyright", "credits" or "licens