[osgeo4w-dev] [osgeo4w] #208: OSGeo4w shell: Environment not set correctly to use python with qgis bindings

OSGeo4W trac_osgeo4w at osgeo.org
Thu Jan 27 09:06:26 EST 2011


#208: OSGeo4w shell: Environment not set correctly to use python with qgis
bindings
-----------------------------+----------------------------------------------
Reporter:  milovanderlinden  |       Owner:  osgeo4w-dev@…              
    Type:  defect            |      Status:  new                        
Priority:  major             |   Component:  Installer                  
 Version:                    |    Keywords:  install shell qgis python  
-----------------------------+----------------------------------------------
 Reproduce:

 1. run installer from scratch on a fresh windows xp sp2 virtual machine
 2. Select advanced install
 3. check qgis, qgis-grass-plugin and "shell: OSGeo4w Command shell"
 4. Install
 5. Start shell by double clicking OSGeo4w shell icon on desktop
 6. >python
 7. >>>import qgis.core

 You will be told qgis.core cannot be found.

 External links:
 http://desktopgisbook.com/Creating_a_Standalone_GIS_Application_1

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/208>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.


More information about the osgeo4w-dev mailing list