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

NumbaDeprecationWarning and FFmpeg Installation Error in Whisper Module #165

Open
AjayKrishna76 opened this issue Jan 23, 2024 · 0 comments

Comments

@AjayKrishna76
Copy link

Description

I am encountering two issues when using the Whisper module in Python. Firstly, there's a deprecation warning from Numba, and secondly, an error related to FFmpeg not being installed, even though it is installed on my system.

Environment

  • Operating System: Windows
  • Python Version: 3.9.7
  • Whisper Version: 1.1.10

Steps to Reproduce

  1. Install Whisper using pip install whisper.
  2. Run a Python script that imports and uses Whisper.
  3. Encounter the following issues.

Expected Behavior

I expect Whisper to import without any deprecation warnings and recognize the installed FFmpeg library.

Actual Behavior

  1. NumbaDeprecationWarning

    • The following deprecation warning is displayed:
      NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
        def backtrace(trace: np.ndarray):
      
    • This warning suggests that future versions of Numba will change the default behavior, potentially affecting Whisper's functionality.
  2. FFmpeg Library Not Installed Error

    • Despite having FFmpeg installed and correctly set up in the system PATH, I receive the following error when using Whisper:
      ERROR: The ffmpeg library is not installed. Please install ffmpeg and try again.
      
    • This occurs even though FFmpeg is accessible from the command line.

Thank you for looking into these issues. I am looking forward to your guidance and potential fixes.

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