#4905 videotrans.configure.excepts.VideoTransError: please run uv sync --extra qwentts

95.85* Posted at: 17 hours ago

please run uv sync --extra qwentts :
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 16, in run
File "videotrans\tts\__init__.py", line 184, in run
File "videotrans\tts\_base.py", line 92, in run
File "videotrans\tts\_qwenttslocal.py", line 50, in _exec
File "videotrans\configure\base.py", line 253, in _new_process
videotrans.configure.excepts.VideoTransError: please run uv sync --extra qwentts


=
system:Windows-10-10.0.19045-SP0
version:v4.01
frozen:True
language:zh
root_dir:A:/BaiduNetdiskDownload/py

1 Replies

你遇到的错误是因为使用 源码部署 但未安装 Qwen-TTS 本地配音渠道所需的额外依赖。默认 uv sync 不会安装 qwen-ttsqwen-asrmoss-ttschatterbox 等本地渠道,需要手动指定安装。

解决方案:

  1. 进入软件项目根目录,运行以下任一命令(注意 extra 名称拼写):

    uv sync --all-extras

    或单独安装:

    uv sync --extra qwen-tts

    qwen-tts 是正确名称,不是你之前尝试的 qwentts

  2. 如果依然报错,可以先清理旧的虚拟环境再重新同步:

    uv sync --reinstall

如果你使用的是 Windows 预打包版(sp.exe),则不需要运行 uv sync。报错说明你的打包版不完整或混入了源码文件,请重新从官网下载完整包(pyvideotrans.com/downpackage),解压后直接双击 sp.exe 运行。

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