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

ImportError: cannot import name 'registry' from 'pyannote.database' #92

Open
axuan731 opened this issue Mar 8, 2023 · 3 comments
Open

Comments

@axuan731
Copy link

axuan731 commented Mar 8, 2023

Hello:
I try to apply my own YAML with the command: from pyannote.database import get_protocol
But it shows"ImportError: cannot import name 'registry' from 'pyannote.database' (/home/xuan/anaconda3/envs/pyannote/lib/python3.8/site-packages/pyannote/database/init.py)"
How can I solve this problem?Thanks^_^

@axuan731
Copy link
Author

😭😭😭

@hbredin
Copy link
Member

hbredin commented Mar 23, 2023

To maximise the probability of someone answering your question:

  • if your issue is a bug report, please provide a minimum reproducible example, e.g. a link to a self-contained Google Colab notebook (i.e. containing everthing needed to reproduce the bug: installation of pyannote.audio, downloads of models or test data, etc...)

  • if your issue is a feature request, please read this first and update your request accordingly.

@mariebiscuit
Copy link

When I ran pip install pyannote.database and it installed pyannote.database-4.1.3, the registry module wasn't in the __init__.py of the pyannote database package. Reinstalling via pip install git+https://github.com/pyannote/pyannote-database/tree/develop fixed it for me.

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

No branches or pull requests

3 participants