python - 如何在 Windows (Python) 上安装 leveldb

标签 python windows compilation pip

我试试(Python 2.7.x)

pip install leveldb

但它失败并显示消息

Complete output from command python setup.py egg_info: Don't know how to compile leveldb for Windows!

有谁知道是否可以在 64 位 Windows 上编译/安装 leveldb,如果可以,最好的方法是什么?

最佳答案

似乎可以使用 https://github.com/happynear/py-leveldb-windows

py-leveldb-windows:一个用于构建 leveldb python 包装器的 Visual Studio 项目。

关于python - 如何在 Windows (Python) 上安装 leveldb,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45024809/

相关文章:

python 读取文件 next()

python - 连接重置错误: [WinError 10054] An existing connection was forcibly closed by the remote host (while accessing Gmail emails)

c++ - 简单的 C++ GUI 作为 XUL 的替代品?

c++ - ostringstream operator[] 在尝试读取缓冲区时给出编译错误

python - numpy.subtract 但仅直到差异达到阈值 - 用阈值替换小于该值的数字

Python类和实例属性混淆

不同平台上比较方法中的 C++ 常量引用

python - 如何在 Windows 10 上安装适用于 Python 2.7 的 CVXOPT?

c - 如何在 Opensuse 12.2 上构建 Gotoblas2

javascript - Vue 3 推荐的 TypeScript TSConfig compilerOptions TARGET 设置?