如何在debian raspberry pi上安装geos [英] How to install geos on debian raspberry pi
问题描述
我尝试使用:
git clone git://git.debian.org/git/pkg-grass/geos
这下载正确,但是当我尝试运行我的python脚本,它给我一个追溯错误说
OSError:找不到库geos_c或加载任何其变体['libgeos_c.so.1','libgeos_c.so']
我把geos放在错误的地方吗?有没有一种特殊的方式来构建文件?
感谢您的帮助!
您刚刚下载了这些资源。我想你想要安装二进制包。要安装它,键入(作为root):
apt-get install libgeos ++
Hi I am trying to install geos on a raspberry pi running rasbian wheezy so that I can include the shapely modules in my python scripts.
I tried using:
git clone git://git.debian.org/git/pkg-grass/geos
this downloads properly, but when I try to run my python script it gives me a traceback error saying
OSError: Could not find library geos_c or load any of its variants ['libgeos_c.so.1', 'libgeos_c.so']
have I put geos in the wrong place? is there a special way to build the files? Thanks for your help!
You have just downloaded the sources so far. I guess you wanted to install the binary package instead. To install it, type (as root):
apt-get install libgeos++
这篇关于如何在debian raspberry pi上安装geos的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!