Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kazoo - Cannot fetch index base URL https://pypi.python.org/simple/ #528

Open
Ishanise opened this issue Jul 15, 2021 · 0 comments
Open

Comments

@Ishanise
Copy link

Ishanise commented Jul 15, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant