OSError geos_c could not be found when Installing Shapely

前端 未结 6 504
星月不相逢
星月不相逢 2020-12-11 00:31

I\'m a newbie to making/plotting on maps with python, been trying to follow this blogpost to generate a world map (http://sciblogs.co.nz/seeing-data/2011/08/12/plotting-geog

6条回答
  •  有刺的猬
    2020-12-11 01:10

    With OS X 10.11 (El Capitan) and Boxen, I had do do this:

    brew install geos
    sudo mkdir /opt/local
    sudo ln -s /opt/boxen/homebrew/lib /opt/local/lib
    

    to let Shapely find libgeos_c.dylib in one of the locations it was willing to look for it.

提交回复
热议问题