Wednesday, June 8, 2011

What Python version do my geospatial apps/libraries use?

Setting up a new PC and I was interested to know what version of Python is being installed and used by various GIS applications and libraries.

The problem many new users have is finding what version to install with what software.  So here is the run down of what is using what Python Version.
  • FWTools 2.4.7 (Windows 32bit)  uses Python 2.3.4
  • ESRI ArcGIS 10 uses Python 2.6.5  on installation
  • ESRI ArcGIS 9.3 uses Python 2.5.1
  • OSGeo4w  uses Python 2.5.2
  • Google AppEngine as of 08.06.2011 uses Python 2.5.2   Roadmap has 2.7 in sight
  • Ubuntu Server 10.04 has Python 2.6.5  as a standard instal
  • Django supports any Python version from 2.4 to 2.7
 A quick note
GdalOgrInPython GDAL this link for details


     Dependencies

  • Python 2.X (and 3.X since GDAL 1.7.0). Python 2 versions known to work range from 2.3 to 2.7.
  • libgdal (1.5.0 or greater) and header files (gdal-devel)
  • numpy (1.0.0 or greater) and header files (numpy-devel) (not explicitly required, but many examples and utilities will not work without it). Note that at the time of writing, there's not yet any Python 3 port of NumPy.
Michael