sgillies/shapely — Issue #23: geos_c.h not found 
Author: michaelaye
Created: 2012-02-06 22:19:17+00:00
State: open

Hi Stefan,

I am trying to install shapely via pip and get this error:
shapely/speedups/_speedups.c:219:20: error: geos_c.h: No such file or directory

Even so I have it on my system (MacOSX Lion):
python_simul)[maye@paradigm .../bela/rangefinder]$ slocate geos_c.h
/Library/Frameworks/EPD64.framework/Versions/7.1/include/geos_c.h
/Library/Frameworks/EPD64.framework/Versions/7.2/include/geos_c.h
/Library/Frameworks/GEOS.framework/Versions/3/Headers/geos_c.h
/Library/Frameworks/GEOS.framework/Versions/3/unix/include/geos_c.h
/Library/Frameworks/Python.framework/Versions/7.1/include/geos_c.h
/Library/Frameworks/Python.framework/Versions/7.2/include/geos_c.h

I start the pip compilation using the python from the last line, so in principle the file should be found, no?
For your info: I don't have the module 'distribute_setup' that you apparently would have prepared to use for setting up the compilation.

Best regards,
Michael