2024-09-30 02:30:15 发布
网友
下面是我在执行sudo pip install imposm时得到的错误
sudo pip install imposm
#include "tcutil.h" ^ 1 error generated. error: command 'gcc' failed with exit status 1
我相信我已经在我的Mac(osx10.8.5)上的gcc(版本:4.2.1)安装在/usr/bin/gcc下。我不知道还需要做什么。其他细节。在
gcc
/usr/bin/gcc
您需要安装tokyo-cabinet,impom将其用于缓存。在
如果您使用homebrew,它只是:brew install tokyo-cabinet
brew install tokyo-cabinet
该模块的文档说明如下:
The PBF parser is written as a C extension and you need to have a C/C++ compiler, the Python libraries and Google Protobuf.
至少,如果这是该模块的适当文档(http://imposm.org/docs/imposm.parser/latest/install.html#installation)
我真的无法研究如何在mac上安装这些组件,但是如果你没有满足这些要求,那可能就是它不能工作的原因。在
您需要安装tokyo-cabinet,impom将其用于缓存。在
如果您使用homebrew,它只是:
brew install tokyo-cabinet
该模块的文档说明如下:
至少,如果这是该模块的适当文档(http://imposm.org/docs/imposm.parser/latest/install.html#installation)
我真的无法研究如何在mac上安装这些组件,但是如果你没有满足这些要求,那可能就是它不能工作的原因。在
相关问题 更多 >
编程相关推荐