Skip to content

Exception in thread "main" ModuleNotFoundError: No module named 'whisperx' #343

Closed
@asasas234

Description

@asasas234

I want to execute a python script through graalvm, and the error is as follows:

Exception in thread "main" ModuleNotFoundError: No module named 'whisperx'
	at org.graalvm.sdk/org.graalvm.polyglot.Context.eval(Context.java:399)
	at com.youtube.dubbing.transcription.service.WhisperXServiceImpl.main(WhisperXServiceImpl.java:37)

I confirmed that the script itself is fine, I can execute it normally in my python development tool, and I execute pip show whisperx The output is as follows:

Name: whisperx
Version: 3.1.1
Summary: Time-Accurate Automatic Speech Recognition using Whisper.
Home-page: https://github.com/m-bain/whisperx
Author: Max Bain
Author-email: 
License: MIT
Location: /Users/lizhibo/miniconda3/lib/python3.10/site-packages
Requires: faster-whisper, ffmpeg-python, nltk, pandas, pyannote.audio, setuptools, torch, torchaudio, transformers
Required-by: 

How can I solve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions