I'm trying to install Python-RocksDB package.
I tried using sudo pip3 install python-rocksdb sudo pip install python-rocksdb
However, I get this message Requirement already satisfied: python-rocksdb in /usr/local/lib/python3.6/dist-packages
I also tried cloning the github repository and installing it from source. Somehow that doesn't get installed either. Is there anything else to resolve this?
Install rocksdb and Cython.
Simplified :
Solution 1
pip install Cython
pip install python-rocksdb
Solution 2
pip install git+git://github.com/twmht/python-rocksdb.git
Try the manual method :
git clone https://github.com/facebook/rocksdb.git
cd rocksdb
mkdir build && cd build
cmake ..
make
sudo make install INSTALL_PATH=/usr
Now you have rocksdb installed, Then make a new python virtual environment:
pip install python-rocksdb
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With