[DebianGIS-dev] Bug#385460: python-gdal: import gdal fails with
python2.4
Bernhard Reiter
bernhard at intevation.de
Thu Aug 31 12:58:40 UTC 2006
Package: python-gdal
Version: 1.3.2-2
Severity: important
Hi,
there seems to be a problem with the python search path
and the new python-gdal package.
$python
Python 2.4.4c0 (#2, Jul 30 2006, 16:45:39)
[GCC 4.1.2 20060729 (prerelease) (Debian 4.1.1-10)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gdal
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named gdal
>>> import sys
>>> sys.path
['', '/usr/lib/python24.zip', '/usr/lib/python2.4',
'/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk',
'/usr/lib/python2.4/lib-dynload',
'/usr/local/lib/python2.4/site-packages',
'/usr/lib/python2.4/site-packages',
'/usr/lib/python2.4/site-packages/Numeric',
'/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode']
pycentral pycentraldir gdal
/usr/share/pycentral/gdal
pycentral showdefault
2.4
Best, Bernhard
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.7-eione1
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages python-gdal depends on:
ii libc6 2.3.6.ds1-2 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-11 GCC support library
ii libgdal1-1.3.2 1.3.2-2 Geospatial Data Abstraction Librar
ii libstdc++6 4.1.1-11 The GNU Standard C++ Library v3
ii python 2.4.3-11 An interactive high-level object-o
ii python-central 0.5.5 register and build utility for Pyt
ii python-numeric 24.2-5 Numerical (matrix-oriented) Mathem
python-gdal recommends no packages.
-- no debconf information
More information about the Pkg-grass-devel
mailing list