<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to install GDAL Library in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-install-gdal-library/m-p/691226#M53569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please help me! I am confused. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to import GDAL library into python code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a message that there is no module named GDAL. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried to install GDAL for Python on Windows according to this guide &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.gis.usu.edu/~chrisg/python/2009/docs/gdal_win.pdf" rel="nofollow" target="_blank"&gt;http://www.gis.usu.edu/~chrisg/python/2009/docs/gdal_win.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but nothing happens. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please could you help me? Thank you very much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Oct 2012 10:13:48 GMT</pubDate>
    <dc:creator>irinivozinaki</dc:creator>
    <dc:date>2012-10-13T10:13:48Z</dc:date>
    <item>
      <title>How to install GDAL Library</title>
      <link>https://community.esri.com/t5/python-questions/how-to-install-gdal-library/m-p/691226#M53569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please help me! I am confused. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to import GDAL library into python code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a message that there is no module named GDAL. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried to install GDAL for Python on Windows according to this guide &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.gis.usu.edu/~chrisg/python/2009/docs/gdal_win.pdf" rel="nofollow" target="_blank"&gt;http://www.gis.usu.edu/~chrisg/python/2009/docs/gdal_win.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but nothing happens. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please could you help me? Thank you very much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Oct 2012 10:13:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-install-gdal-library/m-p/691226#M53569</guid>
      <dc:creator>irinivozinaki</dc:creator>
      <dc:date>2012-10-13T10:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to install GDAL Library</title>
      <link>https://community.esri.com/t5/python-questions/how-to-install-gdal-library/m-p/691227#M53570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Those instructions and the version of GDAL they link to are very old. The GDAL project no longer provides windows binaries (&lt;/SPAN&gt;&lt;A href="http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries#GDALOGRBinaries"&gt;link&lt;/A&gt;&lt;SPAN&gt;). You can install GDAL from &lt;/SPAN&gt;&lt;A href="http://www.gisinternals.com/sdk/PackageList.aspx?file=release-1500-gdal-1-9-1-mapserver-6-0-3"&gt;gisinternals.com&lt;/A&gt;&lt;SPAN&gt;. Download gdal-19-1500-core.msi and GDAL-1.9.1.win32-py2.X.exe (replace 2.X with 2.7 if you have ArcGIS 10.1 or 2.6 for ArcGIS 10.0).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Oct 2012 21:14:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-install-gdal-library/m-p/691227#M53570</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2012-10-13T21:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to install GDAL Library</title>
      <link>https://community.esri.com/t5/python-questions/how-to-install-gdal-library/m-p/691228#M53571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=1eec30bf5fa042a5a2227b094db89441"&gt;This prebuilt version for 10.1 may be what you need&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Oct 2012 15:36:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-install-gdal-library/m-p/691228#M53571</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2012-10-14T15:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to install GDAL Library</title>
      <link>https://community.esri.com/t5/python-questions/how-to-install-gdal-library/m-p/691229#M53572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately the following message appears still in my screen when I am trying to import GDAL&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Runtime error &amp;lt;type 'exceptions.ImportError'&amp;gt;: DLL load failed: The specified module could not be found"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 05:12:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-install-gdal-library/m-p/691229#M53572</guid>
      <dc:creator>irinivozinaki</dc:creator>
      <dc:date>2012-10-15T05:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to install GDAL Library</title>
      <link>https://community.esri.com/t5/python-questions/how-to-install-gdal-library/m-p/691230#M53573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks very much for your help... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also found the following advice which was proved to be helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://pythongisandstuff.wordpress.com/2011/07/07/installing-gdal-and-ogr-for-python-on-windows/#comment-137" rel="nofollow" target="_blank"&gt;http://pythongisandstuff.wordpress.com/2011/07/07/installing-gdal-and-ogr-for-python-on-windows/#comment-137&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 09:34:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-install-gdal-library/m-p/691230#M53573</guid>
      <dc:creator>irinivozinaki</dc:creator>
      <dc:date>2012-10-16T09:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to install GDAL Library</title>
      <link>https://community.esri.com/t5/python-questions/how-to-install-gdal-library/m-p/691231#M53574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to get the gdal/ogr modules installed.&amp;nbsp; I've downloaded the gdal/ogr binaries and the python bindings, and put in a directory.&amp;nbsp; I'm using the gdal version that is bunded with the ms4w package here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.maptools.org/ms4w/index.phtml"&gt;http://www.maptools.org/ms4w/index.phtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After downloading I've pulled the various files out and created a gdal directory with the following directories:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bin (the various gdal tools and dll's), data (gdal data directory), plugins (additional drivers like sde filegdb etc), projlib (files used by proj4), python (the python bindings)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my script i add the plugins, bin, to os.environ['PATH']&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;after doing this I can successfully import osgeo.ogr, use the tools etc.&amp;nbsp; No problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So now I add the 'import arcpy' line at the top of my script.&amp;nbsp; When I do this my subsequent attempts to import osgeo.ogr give me this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;_mod = imp.load_module('_gdal', fp, pathname, description)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ImportError: DLL load failed: The specified procedure could not be found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I try to import arcpy after I've imported osgeo.ogr, python crashes.&amp;nbsp; The crash creates a popup saying python.exe has stopped working, blah blah.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The details indicate the fault module Name is 'RasterDB.dll'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have a recipe for installing gdal/ogr so that it works with arcpy?&amp;nbsp; Suggestions on how to arcpy and OGR to work in the same script?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. you can download a complete bundle of the dependencies and the python script that demonstrates the issue here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://docs.google.com/file/d/0B6ehdNnpIAs5bzk0Y09pdG5aNWc/edit?usp=sharing"&gt;https://docs.google.com/file/d/0B6ehdNnpIAs5bzk0Y09pdG5aNWc/edit?usp=sharing&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The script test_arcpy_and_gdal.py will demonstrate the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 18:21:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-install-gdal-library/m-p/691231#M53574</guid>
      <dc:creator>KevinNetherton</dc:creator>
      <dc:date>2013-02-21T18:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to install GDAL Library</title>
      <link>https://community.esri.com/t5/python-questions/how-to-install-gdal-library/m-p/691232#M53575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try to read the whole procedure described in the link I have proposed above...&amp;nbsp; It is really helpful. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it works!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 05:26:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-install-gdal-library/m-p/691232#M53575</guid>
      <dc:creator>irinivozinaki</dc:creator>
      <dc:date>2013-02-22T05:26:25Z</dc:date>
    </item>
  </channel>
</rss>

