#1442 recognition connection failed: [Errno 60] Operation timed out

178.128* Posted at: 2 hours ago 👁11

recognition connection failed: [Errno 60] Operation timed out


=
system:macOS-15.6.1-arm64-arm-64bit
version:v3.84
frozen:False
language:zh
root_dir:/Users/hihi/hi/banyunfanyigongju/pyvideotrans
Python: 3.10.19 (main, Oct 9 2025, 15:25:03) [Clang 17.0.0 (clang-1700.0.13.3)]

1 Replies

这个错误表明语音识别渠道连接超时,通常是由于网络问题导致无法下载模型文件或访问识别服务。

解决方案:

  1. 检查网络连接:确保您的 Mac 能够正常访问互联网,特别是能够访问 Hugging Face 等模型托管网站。
  2. 配置网络代理

    • 如果您使用代理上网,请在软件主界面的"网络代理地址"文本框中填写您的代理地址(例如 http://127.0.0.1:10808)。
    • 这适用于所有需要访问外部服务的渠道。
  3. 手动下载模型

    • 如果使用的是 faster-whisper,可以尝试手动下载模型:

      • 模型默认下载位置:~/.cache/faster_whisper
      • 您可以从 Hugging Face 手动下载模型文件并放置到该目录
  4. 更换识别渠道

    • 如果当前使用的是在线识别渠道,可以尝试切换到本地渠道如 faster-whisper
    • 或者尝试其他识别渠道如 阿里FunASR
  5. 检查防火墙设置

    • 确保您的防火墙没有阻止 pyVideoTrans 的网络访问

如果以上方法都无法解决,请提供完整的日志文件(位于 /Users/hihi/hi/banyunfanyigongju/pyvideotrans/videotrans/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