[osgeo4w-dev] Re: [osgeo4w] #208: OSGeo4w shell: Environment not
set correctly to use python with qgis bindings
OSGeo4W
trac_osgeo4w at osgeo.org
Thu Jan 27 09:08:19 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
-----------------------------+----------------------------------------------
Comment(by milovanderlinden):
Solution I took:
1. Add a qgis.bat file in the directory: %OSGEO4W_ROOT%\etc\ini
2. Put this as content in the file:
SET PYTHONPATH=%OSGEO4W_ROOT%\apps\qgis\python
PATH=C:\OSGeo4W\apps\qgis\bin;%PATH%
--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/208#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.
More information about the osgeo4w-dev
mailing list