[osgeo4w-dev] [osgeo4w] #385: Cannot use libxml2

OSGeo4W trac_osgeo4w at osgeo.org
Thu Oct 17 13:39:12 PDT 2013


#385: Cannot use libxml2
-------------------+--------------------------------------------------------
Reporter:  GG1234  |       Owner:  osgeo4w-dev@…              
    Type:  defect  |      Status:  new                        
Priority:  minor   |   Component:  Package                    
 Version:          |    Keywords:                             
-------------------+--------------------------------------------------------
 Hello all,

 Trying to use libxml2 in some python code, I run into this error message :
 ImportError: No module named libxml2

 I thought it was in my PATH settings, but it seems to have all it needs
 (see below).

 Any hints ?

 Thanks a lot,

 GG.

 SET GDAL_DATA=C:\OSGeo4W\share\epsg_csv
 SET GISBASE=C:\OSGeo4W\apps\grass\grass-6.4.3
 SET GISRC=C:\DATA\GRASS
 SET GRASS_SH=C:\OSGeo4W\apps\msys\bin\sh.exe
 SET LD_LIBRARY_PATH=C:\OSGeo4W\apps\grass\grass-6.4.3\lib
 SET
 Path=C:\OSGeo4W\bin;C:\OSGeo4W\lib;C:\OSGeo4W\apps\python27\Scripts;C:\OSGeo4W\apps\python27\lib
 \site-
 packages\PyQt4;C:\OSGeo4W\apps\qgis;C:\OSGeo4W\apps\qgis\bin;C:\OSGeo4W\apps\grass\grass-6.4.3\scripts;C:\OSGeo4W\apps\grass\grass-6.4.3\etc;C:\OSGeo4W\apps\grass\grass-6.4.3\etc\python;C:\OSGeo4W\apps\grass\grass-6.4.3\lib;C:\OSGeo4W\apps\grass\grass-6.4.3\bin;C:\OSGeo4W\apps\msys\bin;%PATH%
 SET PYTHONHOME=C:\OSGeo4W\apps\python27
 SET PYTHONLIB=C:\OSGeo4W\apps\python27;
 SET
 PYTHONPATH=C:\OSGeo4W\apps\qgis\python\Lib;C:\OSGeo4W\apps\qgis\python;C:\OSGeo4W\bin;C:\OSGeo4W\apps\grass\grass-6.4.3\etc\python
 SET QGIS_DEBUG=1
 chcp 65001
 SET GDAL_DATA=C:\OSGeo4W\share\gdal
 SET GDAL_DRIVER_PATH=C:\OSGeo4W\bin\gdalplugins\

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


More information about the osgeo4w-dev mailing list