stephan-hof / pyrocksdb

Python bindings for RocksDB
BSD 3-Clause "New" or "Revised" License
150 stars 169 forks source link

If you met errors like this ,please see this issue #64

Open lytofd opened 4 years ago

lytofd commented 4 years ago
l have tried  compiling rocksdb and installing pyrocksdb whole day, but  error like this
                        command 'x86_64-linux-gnu-gcc' failed with exit status 1
cannot be resolved, finally, l resolve it with   compiling master branch of rocksdb and install python-rocksdb .
 It seems that pyrocksdb hasn't been updated for a long time, please swith to python-rocksdb.
Congyuwang commented 2 years ago

I have myself implemented a rather nice little on-disk dictionary called rocksdict based on RocksDB. It has pre-built wheels. So just pip install rocksdict.

It supports any python object.

https://github.com/Congyuwang/RocksDict

phatham commented 2 years ago

Using the 4.9.fb branch of rocksdb solved the problem for me.