#5355 ModuleNotFoundError: No module named 'videotrans.translator._deepseek'

45.207* Posted at: 2 days ago

:Traceback (most recent call last):
File "videotrans/util/TestSrtTrans.py", line 19, in run
File "videotrans/translator/__init__.py", line 856, in run
File "videotrans/__init__.py", line 28, in get_class
File "importlib/__init__.py", line 126, in import_module
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'videotrans.translator._deepseek'


=
system:macOS-26.4.1-arm64-arm-64bit
version:v4.03
frozen:True
language:zh
root_dir:/Users/amac/pyvideotrans/dist/pyVideoTrans.app/Contents/Resources

1 Replies

该错误是由于缺少DeepSeek翻译渠道模块 _deepseek.py 导致的。常见原因:

  1. 软件版本不完整:您当前使用的是v4.03(非0622),该版本中可能还未包含DeepSeek渠道,或更新补丁未正确覆盖。
  2. 补丁覆盖缺失:若您之前从旧版本升级,补丁包未完整复制到所有子目录。

解决方案(macOS打包版):

  1. 下载最新完整版(v4.03-0622)的macOS安装包,替换整个应用目录。
  2. 若您当前是源码部署,请确保运行:

    uv sync --all-extras

    并再次启动 uv run sp.py

  3. 若仍失败,请提供 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. Dondate: ko-fi.com/jianchang512

Related resource

Similar issues already exist