WhisperLive icon indicating copy to clipboard operation
WhisperLive copied to clipboard

pip install fails

Open powellnorma opened this issue 1 year ago • 2 comments

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?

powellnorma avatar May 29 '24 16:05 powellnorma

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

makaveli10 avatar May 30 '24 03:05 makaveli10

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 ..

powellnorma avatar May 30 '24 07:05 powellnorma

Solved in the latest version!

makaveli10 avatar Jan 21 '25 06:01 makaveli10