Dear all,<br><br>I use "yum install gdal" to install gdal on fedora 16,<br>I can see all following commands in the terminal:<br><br>ychao@lsce3139:~$ gdal<br>gdaladdo gdal_contour gdalenhance gdalinfo gdal_rasterize gdaltransform gdalwarp <br>
gdalbuildvrt gdaldem gdal_grid gdalmanage gdaltindex gdal_translate <br><br clear="all">However when I tried to import gdal, I get import error:<br><br>In [1]: import gdal<br>---------------------------------------------------------------------------<br>
ImportError Traceback (most recent call last)<br><ipython-input-1-27bf4694dd2b> in <module>()<br>----> 1 import gdal<br><br>ImportError: No module named gdal<br><br>In [2]: from osgeo import gdal<br>
---------------------------------------------------------------------------<br>ImportError Traceback (most recent call last)<br><ipython-input-2-a04b80bf4e65> in <module>()<br>----> 1 from osgeo import gdal<br>
<br>ImportError: No module named osgeo<br><br>so what's going on here? thanks for any response.<br><br>best regards,<br><br>chao<br>-- <br><div>***********************************************************************************</div>
<div>Chao YUE<br>Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)<br>UMR 1572 CEA-CNRS-UVSQ<br>Batiment 712 - Pe 119<br>91191 GIF Sur YVETTE Cedex</div>
<div>Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16<br></div>
<div>************************************************************************************</div>