Changes between Initial Version and Version 1 of Ticket #385


Ignore:
Timestamp:
Oct 18, 2013, 9:10:08 AM (11 years ago)
Author:
maphew
Comment:

Sorry, the libxml2 package installed with osgeo4w isn't a python package.

There is an old ticket, #226, which indicates there might be possible collisions with installing python lxml in addition to the binary libxml2 package we have now, but so far as I know no one has tested to see if that's true.

I did try installing python lxml via pip (ExternalPythonPackages, pip install lxml) but that failed with "make sure the development packages of libxml2 and libxslt are installed". This means it's trying to build from source instead of grabbing the binary version.

Going direct to the latest egg binary for 2.7 with pip install %url_to_egg% also failed, but this time for a lcoal reason, "IOError: [Errno 2] No such file or directory: 'd:
temp
systmp
pip-el8cr5-build
setup.py'"

The next thing to try would be using a standard Windows Installer, see #114. I've run out of time to dig into this personally.

Sources:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #385 – Description

    initial v1  
    1111
    1212GG.
    13 
     13{{{
    1414SET GDAL_DATA=C:\OSGeo4W\share\epsg_csv
    1515SET GISBASE=C:\OSGeo4W\apps\grass\grass-6.4.3
     
    1717SET GRASS_SH=C:\OSGeo4W\apps\msys\bin\sh.exe
    1818SET LD_LIBRARY_PATH=C:\OSGeo4W\apps\grass\grass-6.4.3\lib
    19 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%
    2019SET PYTHONHOME=C:\OSGeo4W\apps\python27
    2120SET PYTHONLIB=C:\OSGeo4W\apps\python27;
    22 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
    2321SET QGIS_DEBUG=1
    2422chcp 65001
    2523SET GDAL_DATA=C:\OSGeo4W\share\gdal
    2624SET GDAL_DRIVER_PATH=C:\OSGeo4W\bin\gdalplugins\
     25}}}
    2726
     27''[editor's note: forced line-wrap for legibility]''
     28{{{
     29SET Path=C:\OSGeo4W\bin;^
     30C:\OSGeo4W\lib;^
     31C:\OSGeo4W\apps\python27\Scripts;^
     32C:\OSGeo4W\apps\python27\lib\site-packages\PyQt4;^
     33C:\OSGeo4W\apps\qgis;^
     34C:\OSGeo4W\apps\qgis\bin;^
     35C:\OSGeo4W\apps\grass\grass-6.4.3\scripts;^
     36C:\OSGeo4W\apps\grass\grass-6.4.3\etc;^
     37C:\OSGeo4W\apps\grass\grass-6.4.3\etc\python;^
     38C:\OSGeo4W\apps\grass\grass-6.4.3\lib;^
     39C:\OSGeo4W\apps\grass\grass-6.4.3\bin;^
     40C:\OSGeo4W\apps\msys\bin;%PATH%
     41
     42SET PYTHONPATH=C:\OSGeo4W\apps\qgis\python\Lib;^
     43C:\OSGeo4W\apps\qgis\python;^
     44C:\OSGeo4W\bin;C:\OSGeo4W\apps\grass\grass-6.4.3\etc\python
     45}}}