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 .
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.