<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Chaitanya,<br>
    <br>
    Setting PYTHONPATH did solve the problem. The new gdal-python
    bindings were installed under
    /user/local/lib64/python2.4/site-packages and the path was not set
    automatically. It would be nice if the sys.path is modified
    automatically by gdal installation.<br>
    <br>
    Thanks<br>
    Xiaodong<br>
    <pre class="moz-signature" cols="72">Xiaodong Zhang, Ph. D
Associate Professor
Department of Earth System Science and Policy
University of North Dakota
Tel: (701) 777-6087
<a class="moz-txt-link-freetext" href="http://www.und.edu/instruct/zhang">http://www.und.edu/instruct/zhang</a></pre>
    <br>
    On 1/6/2011 10:11 PM, Chaitanya kumar CH wrote:
    <blockquote
      cite="mid:AANLkTi=KZzzg+GTZBZHo5P3dbxMQ5stTuJE+tCokugn0@mail.gmail.com"
      type="cite">
      Xiaodong,<br>
      <br>
      Check again after setting the environment variable PYTHONPATH to
      the path to the new python bindings.<br>
      <br>
      <div class="gmail_quote">On Fri, Jan 7, 2011 at 12:55 AM, Xiaodong
        Zhang <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:xiaodong.zhang2@und.edu">xiaodong.zhang2@und.edu</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">Hi,<br>
          <br>
          I just updated the older version  of gdal (1.4.2) with the
          latest version of gdal (1.7.3) on x64 RedHat. Got an error
          when using gdal_polygonize.py for a test image<br>
          <br>
          gdal_polyzonize.py t2.tif -f "ESRI Shapefile" pt2<br>
          <br>
          gdal.Polyzonize() not available. You are likely using "old
          gen" bindings or an older version of the next gen bindings.<br>
          <br>
          I found the previous threads on this issue, but could not find
          an answer.<br>
          <br>
          Any idea? Thanks<br>
          <br>
          Xiaodong<br>
          _______________________________________________<br>
          gdal-dev mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.osgeo.org/mailman/listinfo/gdal-dev"
            target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Best regards,<br>
      Chaitanya kumar CH.<br>
      /tʃaɪθənjə/ /kʊmɑr/ <br>
      +91-9494447584<br>
      17.2416N 80.1426E<br>
    </blockquote>
  </body>
</html>