Yes, I learned it on the list - there are plugins with other Python
dependencies that need to be installed the same way.

For anyone else doing it, I forgot to mention that it only works if you
use an installer built for the same version of Python that QGIS uses
i.e. an installer for Python 2.6 or 3 will not work with Python 2.5.

 

From: Micha Silver [mailto:mi...@arava.co.il] 
Sent: Wednesday, 14 September 2011 10:01 p.m.
To: Alister Hood
Cc: qgis-user@lists.osgeo.org; david.fawc...@gmail.com;
garcia.si...@gmail.com
Subject: Re: [Qgis-user] Profile Tool

 

On 01/09/2011 01:18, Alister Hood wrote: 

        Hi guys,
        You can manually extract the files from the shapely installer
(using
        e.g. Izarc or 7zip, or possibly just by renaming it as .zip or
        something), and put them in the right places.
        You need to put the shapely folder (from inside PURELIB) in e.g.
        C:\OSGeo4W\apps\Python25\Lib\site-packages\, and the geos.dll
and
        libgeos-3-2-2.dll in I think C:\OSGeo4W\bin, although instead of
        installing those I seem to have got it working by editing
        C:\OSGeo4W\apps\Python25\Lib\site-packages\shapely\geos.py to
use the
        lib from OSGeo4W instead (C:\OSGeo4W\bin\geos_c.dll).

Hi Alister:

Your trick to unzip and manually place shapely 1.2 into the
python\site_packages\ dir worked fine. Many thanks.

-- 

Micha

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to