3

我正在使用 Anaconda python (2.7)。我需要安装 tokyocabinet(以及其他依赖项)才能安装 imposm.parser。但是每当我尝试安装它(通过使用 pip)时,我都会得到:

fatal error  C1083 : cannot open include file: 'tcbdb.h' :No such file or directory.
MS visual studio 9.0\VC\BIN\amd64\cl.exe failed with exit status 2.

万一这很重要,我正在运行 Windows 7 Ultimate 64 位。

包链接:https ://pypi.python.org/pypi/tokyocabinet 。

4

1 回答 1

0

我使用的是 Ubuntu 15.04,我发现我需要获取 tokyo cabinet 库。

sudo apt-get install libtokyocabinet-dev

在那之后,

pip install pytc

工作得很好。

于 2016-03-29T20:10:33.407 回答