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

485 Views Asked by At

I am using Anaconda python (2.7). I need to install tokyocabinet (along with other dependencies) in order to install imposm.parser. But whenever I try to install it (by using pip) I get this :

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.

Package link: https://pypi.python.org/pypi/tokyocabinet.

1

There are 1 best solutions below

1
On

I'm using Ubuntu 15.04, and I found that I needed to get the tokyo cabinet libraries.

sudo apt-get install libtokyocabinet-dev

After that,

pip install pytc

worked just fine.