[Gdal-dev] Ubuntu NG Python bindings (was status of ldshared build? (or, other options for OSX framework build))

Howard Butler hobu.inc at gmail.com
Sat Nov 3 00:38:54 EDT 2007


Chris,

Things work ok on my ubuntu 7.10 server instance with stock  
setuptools.  Are you still having trouble?  I wonder if the generated  
code in svn is a bit out of sync or something.

Howard

On Nov 2, 2007, at 1:11 AM, Christopher Barker wrote:

> Christopher Barker wrote:
>> but is it as easy as just using without-python in .configure, then  
>> running setup.py after building and installing GDAL?
>
> I just tried it (on Kubuntu Linux 7.10), and it appeared to build  
> and install OK, but I'm getting:
>
> >>> import osgeo.gdal
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "osgeo/gdal.py", line 51, in <module>
>     from gdalconst import *
>   File "osgeo/gdalconst.py", line 123, in <module>
>     GFT_Integer = _gdalconst.GFT_Integer
> AttributeError: 'module' object has no attribute 'GFT_Integer'
>
> (SVN head)
>
> look familiar? I'm going to bed -- maybe I'll be able to poke into  
> this more tomorrow
>
> -Chris
>
>
>
> -- 
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R            (206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
> Seattle, WA  98115       (206) 526-6317   main reception
>
> Chris.Barker at noaa.gov
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev




More information about the gdal-dev mailing list