#1159 No module named 'whisper'

150.242* Posted at: 6 days ago 👁19

No module named 'whisper'


=
system:macOS-26.0.1-arm64-arm-64bit-Mach-O
version:v3.82
frozen:False
language:zh
root_dir:/Users/m.i.a369/Documents/trae_projects/pyvideotrans
Python: 3.13.7 (v3.13.7:bcee1c32211, Aug 14 2025, 19:10:51) [Clang 16.0.0 (clang-1600.0.26.6)]

1 Replies

您遇到的是 macOS 系统上缺少 whisper 模块的问题。由于您使用的是源码版本(frozen:False),需要手动安装依赖。

请按以下步骤解决:

  1. 激活虚拟环境(如果您使用了虚拟环境)
  2. 安装依赖

    pip install -r requirements.txt
  3. 如果仍然报错,可能是依赖版本问题,请尝试手动安装:

    pip install openai-whisper
  4. 重新启动软件

如果问题依旧存在,请检查您的 Python 环境是否正常,并确认在正确的环境中安装了依赖。

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions