【发布时间】:2011-11-29 12:48:18
【问题描述】:
我正在尝试在 Windows 7 上安装 pycassa,这是一个用 Python 编写的 Cassandra 客户端。
运行pip install pycassa 我收到了这个错误信息:
error: unable to find vcvarsall.bat
深入挖掘,我发现 Python 无法安装 thrift 库和 Python 绑定。人们建议的一种方法是在 Windows 7 上安装 C++ 编译器,例如 Visual Studio 2008 Express 或 mingw,然后从源代码编译 Thrift。
但是,我找到了online compiled version of Thrift。 有没有办法将 Thrift 的编译版本绑定到 Python 中,然后在 pycassa 中使用?还是我必须从源代码编译thrift?
【问题讨论】:
标签: python windows-7 cassandra thrift pycassa