[英]Tokyocabinet fatal error C1083 : cannot open include file:tcbdb.h
I am using Anaconda python (2.7). 我正在使用Anaconda python(2.7)。 I need to install tokyocabinet (along with other dependencies) in order to install imposm.parser. 我需要安装tokyocabinet(以及其他依赖项)才能安装imposm.parser。 But whenever I try to install it (by using pip) I get this : 但每当我尝试安装它(通过使用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.
In case it matters, I am running Windows 7 ultimate 64 bit. 如果它很重要,我运行Windows 7 ultimate 64 bit。
Package link: https://pypi.python.org/pypi/tokyocabinet . 包链接: https : //pypi.python.org/pypi/tokyocabinet 。
I'm using Ubuntu 15.04, and I found that I needed to get the tokyo cabinet libraries. 我正在使用Ubuntu 15.04,我发现我需要获得东京内阁库。
sudo apt-get install libtokyocabinet-dev
After that, 之后,
pip install pytc
worked just fine. 工作得很好。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.