gpt4 book ai didi

python - Tokyocabinet fatal error C1083 : cannot open include file:tcbdb. h

转载 作者:行者123 更新时间:2023-11-28 19:17:11 24 4
gpt4 key购买 nike

我正在使用 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 旗舰版 64 位。

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

最佳答案

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

sudo apt-get install libtokyocabinet-dev

在那之后,

pip install pytc

工作得很好。

关于python - Tokyocabinet fatal error C1083 : cannot open include file:tcbdb. h,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32285962/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com