Roger André wrote:
$ python
Python 2.3.4 (#1, Dec 11 2007, 05:28:55)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from osgeo import gdal
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named osgeo
--> Not good.
Looking back through the make output, I see that the osgeo modules are
being created and copied:
copying build/lib.linux-x86_64-2.3/osgeo/gdal.py ->
/export/lib64/python2.3/site-packages/osgeo
So I tried appending the location to the sys.path in Python to make the
modules available,
that shouldn't be required -- site-packages should be on your sys.path
already. Is your python in /export/lib64/python2.3 ? Do you have more
than one python?
try:
$ which python
and maybe something like:
$ python
>> import datetime 3 or any standard module
>> print datetime.__file__
As a way to see where your python install is.
Also -- why python 2.3? that's getting pretty darn old!
-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
[EMAIL PROTECTED]
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev