简体   繁体   English

Tokyocabinet致命错误C1083:无法打开包含文件:tcbdb.h

[英]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.

相关问题 SWIG致命错误C1083:无法打开包含文件 - SWIG Fatal error C1083: Cannot open include file 致命错误C1083:无法打开包含文件:'openssl / opensslv.h':没有这样的文件或目录 - fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory 致命错误 C1083:无法打开包含文件:'dlfcn.h':没有这样的文件或目录 PyLPSolve - fatal error C1083: Cannot open include file: 'dlfcn.h': No such file or directory PyLPSolve 致命错误 C1083:无法打开包含文件:'openssl/opensslv.h' - Fatal error C1083: Cannot open include file: 'openssl/opensslv.h' 致命错误 C1083:无法打开包含文件:“mecab.h”:没有这样的文件或目录 - fatal error C1083: Cannot open include file: 'mecab.h': No such file or directory 致命错误 C1083:无法打开包含文件:'io.h':没有这样的文件或目录 - fatal error C1083: Cannot open include file: 'io.h': No such file or directory 编译Cython代码产生...致命错误C1083:无法打开包含文件:'io.h' - Compiling Cython code yields… fatal error C1083: Cannot open include file: 'io.h' 致命错误 C1083:无法打开包含文件:“basetsd.h” - fatal error C1083: Cannot open include file: 'basetsd.h' snappy/snappymodule.cc(31): 致命错误 C1083: 无法打开包含文件: 'snappy-c.h': 没有那个文件或目录 - snappy/snappymodule.cc(31): fatal error C1083: Cannot open include file: 'snappy-c.h': No such file or directory 无法在 Windows 上安装 lxml,致命错误 C1083:无法打开包含文件:'libxml/xmlversion.h' - Cannot install lxml on windows, fatal error C1083: Cannot open include file: 'libxml/xmlversion.h'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM