#2651 module 'decoders' has no attribute 'DecodeStream'

183.187* Posted at: 12 hours ago 👁14

module 'decoders' has no attribute 'DecodeStream'


=
system:Windows-10-10.0.19045-SP0
version:v3.91
frozen:True
language:zh
root_dir:D:/win-videotrans-v3.84

1 Replies

这个错误通常与 faster-whisper 库的版本冲突有关。请按以下步骤解决:

  1. 关闭软件:完全退出 pyVideoTrans。
  2. 清理缓存:删除 D:/win-videotrans-v3.84 目录下的 whisper 文件夹(如果存在)。
  3. 更新依赖

    • 进入软件根目录 D:/win-videotrans-v3.84
    • 按住 Shift 键并右键点击空白处,选择 “在此处打开 PowerShell 窗口”“在此处打开命令窗口”
    • 输入以下命令并按回车执行:

      .\venv\Scripts\pip.exe install --upgrade --force-reinstall faster-whisper==1.0.4
  4. 重启软件:重新运行 sp.exe

如果问题依旧,请尝试在高级选项中暂时切换为其他语音识别渠道(如“OpenAI-whisper(本地)”),或提供 D:/win-videotrans-v3.84/logs/ 目录下的最新日志文件。

请查看更多参考文档:

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