Linux下安装py-leveldb

时间:2021-06-03 16:14:38

1.下载源代码

svn checkout http://py-leveldb.googlecode.com/svn/trunk/ py-leveldb-read-only

2.安装辅助工具

sudo apt-get install python-dev autoconf libtool automake

3.进入py-leveldb-read-only文件夹下,运行compile_leveldb.sh

./compile_leveldb.sh

4.编译安装

python setup.py build

python setup.py install

没有VPN去下载源代码的可以下载我的 py-leveldb-read-only