我挣扎了一段时间在Windows上安装Python 3.5中的leveldb软件包。
https://github.com/happynear/py-leveldb-windows提供了一些如何安装软件包的线索。但是,即使遵循帖子中的所有指令,当我在Ipython提示符中导入包leveldb时仍然会出现以下错误:
import leveldb
Traceback (most recent call last):
File "<ipython-input-16-4427bf69c6fb>", line 1, in <module>
ImportError: DLL load failed: The specified module could not be found.
有谁知道如何解决这个问题?
https://github.com/happynear/py-leveldb-windows上编译的pyd文件是截至18.03.2019的Python 3.6。当我尝试在Python 3.7中使用它时,我遇到了与OP相同的错误。卸载3.7并安装3.6使其工作。