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

pip install fails #219

Open
powellnorma opened this issue May 29, 2024 · 2 comments
Open

pip install fails #219

powellnorma opened this issue May 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@powellnorma
Copy link

In colab, pip install whisper-live fails with:

Installing collected packages: tokenizers
  Attempting uninstall: tokenizers
    Found existing installation: tokenizers 0.19.1
    Uninstalling tokenizers-0.19.1:
      Successfully uninstalled tokenizers-0.19.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
transformers 4.41.1 requires tokenizers<0.20,>=0.19, but you have tokenizers 0.15.2 which is incompatible.

Can this be fixed by specifying the dependencies with exact package versions?

@makaveli10 makaveli10 added the bug Something isn't working label May 30, 2024
@makaveli10
Copy link
Collaborator

@powellnorma we havent tried this in colab yet, thanks for opening the issue. Feel free to open a PR if you have fix already.

@powellnorma
Copy link
Author

I just ignored the error .. Hoping that it wouldn't bite me later. The output was like

ERROR: pip's dependency resolver [..]
transformers [..]
Successfully installed [..]

Still it would be great if this warning/error could be avoided somehow. If you have a working virtualenv, maybe you could compare pip freeze with the pip freeze in colab. Or one prints the dependency tree - it looks like there are two different packages requiring different versions of tokenizers ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants