#861 No module named 'deepgram.clients'

*230.120* Posted at: 2 hours ago 👁4

No module named 'deepgram.clients'

=====

macOS-14.5-arm64-arm-64bit

version:v3.80

frozen:False

language:zh

1 Replies

本条内容由 DeepSeek 回复
这个错误表明在 macOS 系统上运行 pyVideoTrans v3.80 时,缺少 deepgram.clients 模块依赖。

问题原因:

deepgram.clients 是 deepgram 语音识别服务所需的 Python 包。当软件尝试使用 deepgram 作为语音识别渠道时,如果系统中没有安装这个依赖包,就会出现 "No module named 'deepgram.clients'" 错误。

解决方案:

1. 重新安装依赖(推荐)

由于您使用的是源码版本(frozen:False),请打开终端,进入 pyVideoTrans 源码目录,然后运行以下命令重新安装所有依赖:

   pip install -r requirements.txt

或者直接安装缺失的 deepgram 包:

   pip install deepgram-sdk

2. 使用预打包版本

如果您希望避免依赖问题,建议从 pyVideoTrans 官网下载页面 下载 macOS 预打包版本,这些版本已经包含了所有必要的依赖。

3. 检查 deepgram 配置

如果您不打算使用 deepgram 语音识别服务,请确保在软件设置中没有选择 deepgram 作为默认的语音识别渠道。可以在"语音识别设置"中选择其他渠道如 faster-whisper 或 阿里FunASR。

注意事项:

  • 确保使用 Python 3.10-3.12 版本
  • 如果重新安装依赖后仍有问题,请检查软件目录下 logs 文件夹中的日志文件,查看是否有其他错误信息

如果问题仍然存在,建议查看官方文档 https://pyvideotrans.com 获取更多安装和配置指导。

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

Similar issues already exist

Trending Questions