Created
February 17, 2013 06:21
-
-
Save beOn/4970435 to your computer and use it in GitHub Desktop.
installing Shapely without geos_c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is what happens when I `sudo pip install Shapely`. | |
# (Shapely is best if you have libgeos_c, but you can install without it.) | |
--------------------------------------------- | |
$> sudo pip install Shapely | |
... | |
( yada yada yada, setup.py egg_info -> setup.py install for Shapely ) | |
( then after installation, we get this message: ) | |
... | |
clang: warning: argument unused during compilation: '-mno-fused-madd' | |
shapely/speedups/_speedups.c:235:10: fatal error: 'geos_c.h' file not found | |
#include "geos_c.h" | |
^ | |
1 error generated. | |
command 'clang' failed with exit status 1 | |
Warning: The C extension could not be compiled, speedups are not enabled. | |
Failure information, if any, is above. | |
I'm retrying the build without the C extension now. | |
Warning: The C extension could not be compiled, speedups are not enabled. | |
Plain-Python installation succeeded. | |
Successfully installed Shapely | |
Cleaning up... | |
$> | |
--------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment