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

fix: notify users when wrong coqpit package is installed #294

Merged
merged 1 commit into from
Feb 10, 2025
Merged

Conversation

eginhard
Copy link
Member

@eginhard eginhard commented Feb 10, 2025

coqui-tts 0.25.0 switched to the forked coqpit-config package. When users update to that version, they will likely still have the original, now incompatible coqpit package in their environment. This PR adds a helpful error message in that case:

from TTS.api import TTS
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "TTS/__init__.py", line 14, in <module>
    raise ImportError(msg)
ImportError: coqui-tts uses a forked version of coqpit, but you still have the original package installed. Run the following to avoid conflicts:
  pip uninstall coqpit
  pip install coqpit-config

Fixes #274

@eginhard eginhard merged commit 1641257 into dev Feb 10, 2025
30 checks passed
@eginhard eginhard deleted the coqpit branch February 10, 2025 11:30
@gkkulik gkkulik mentioned this pull request Feb 19, 2025
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

Successfully merging this pull request may close these issues.

[Bug] issubclass() arg 1 must be a class
2 participants