Opened 11 years ago

Closed 10 years ago

#390 closed defect (fixed)

Update python shapely library

Reported by: ccrook Owned by: osgeo4w-dev@…
Priority: minor Component: Package
Version: Keywords: python shapely



Currently the python shapely library is at version 1.2.9, which is causing problems with versions of the GEOS library that include the SVN revisions in the version number. This means that the library cannot be loaded - see for example


Could the module be upgrade to >= 1.2.15 please?

Change History (4)

comment:1 by jef, 11 years ago

Resolution: fixed
Status: newclosed

fixed in 1.2.18-1 (same as 1.2.18-2 in 64bit)

comment:2 by ccrook, 11 years ago

Resolution: fixed
Status: closedreopened


Thanks for the amazingly quick response.. I wonder if there could still be a packaging issue though - the user who originally identified the error reports:


On my system I found two folders:

C:\OSGeo4W\apps\python27\lib\site-packages\shapely and C:\OSGeo4W\apps\python27\lib\site-packages\Shapely-1.2.18-py2.7-win32.egg

The last one was updated today, by QGIS is still uses first one while loading "contour"

I renamed "shapely" into "shapely-old" and

Shapely-1.2.18-py2.7-win32.egg into "shapely" but now it cannot find module "shapely.geometry"

Now it I copy folder "shapely" from Shapely-1.2.18-py2.7-win32.egg into C:\OSGeo4W\apps\python27\lib\site-packages\ everything works!

comment:3 by jef, 11 years ago

Deinstalling (or upgrading) the old shapely package leaves the old pyc files around. Removing the old shapely directory helps here.

comment:4 by jef, 10 years ago

Resolution: fixed
Status: reopenedclosed

apparently fixed.

Note: See TracTickets for help on using tickets.