Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

When trying to install Shapely on my Windows 64bit computer, I cannot get the GEOS library to work.

So far, I have run the OSGeo4W installer from which I installed GDAL (I believe the geos library is included in that package). After that, I checked and I have geos_c.dll on my C:\OSGeo4W\bin directory, but either I have missed some configuration steps or the library does not work.

I need Shapely to work, so I also ran pip install shapely after installing GDAL, and it apparently worked (although it could not find the C library for GEOS).

In my code, I can import Shapely, but when I try to use it, I get an error telling me "geos.dll" is not found.

Any help with this will be very appreciated. Thanks!

share|improve this question

2 Answers 2

up vote 8 down vote accepted

Uninstall shapely and try to install it from here. Hope it helps. It worked for me.

share|improve this answer
This did it. I actually used the same page to download Numpy for an unrelated library, but I didn't see shapely there. Thanks! –  Juan Carlos Coto Nov 1 '12 at 8:52
Thanks! This is AFAIK, the only place you can get a windows installer for shapely. –  Matej Oct 29 '14 at 20:33

I was having the same problem but now everything is working perfectly. You can download the shapely package (in wheel package) from the link shared by Mario Miler (link) Choose you package according to your windows and python version. Download the file, it has .whl extension. It is file format for python Wheel package.

Go to cmd and enter:

pip install wheel

Then cd to the folder where you have downloaded and enter

pip install 'your_package_full_name'.whl
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.