-
Notifications
You must be signed in to change notification settings - Fork 115
Description
Hi,
While running the following command I am getting missing dependency error:
python rocksdb_admin.py cluster_1 config --host_file=./host_file --segment=test --shard_num=1000 --overwrite
I got python-gevent dependency missing error:
**Traceback (most recent call last):
File "rocksdb_admin.py", line 28, in <module>
from kazoo import client
ImportError: No module named python-gevent**
I installed gevent: sudo apt install python-gevent
Then I got python kazoo dependency missing error:
**Traceback (most recent call last):
File "rocksdb_admin.py", line 28, in <module>
from kazoo import client
ImportError: No module named kazoo**
I am not able to install Kazoo:
pip install kazoo gives following error:
**Downloading/unpacking kazoo
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement kazoo
Cleaning up...
No distributions at all found for kazoo
Storing debug log for failure in /root/.pip/pip.log**
After that I tried installing Kazoo with pip3
pip3 install kazoo
pip3 worked
Now I tried running with python3:
python3 rocksdb_admin.py cluster_1 config --host_file=./host_file --segment=test --shard_num=1000 --overwrite
But this gives ImportError: No module named 'gevent' as python3 gevent is missing.
And now I am not able to get python3 gevent.
How shall I proceed? Any response is appreciated.