#4904 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 不会安装该渠道。

解决方案:

  1. 打开命令行(CMD 或 PowerShell),进入软件源码根目录。
  2. 执行以下命令安装所有额外依赖(推荐):

    uv sync --all-extra

    或者仅安装 Qwen-TTS 所需的依赖:

    uv sync --extra qwen-tts
  3. 等待依赖安装完成后,重新运行 uv run sp.py 启动软件。

如果您是 Windows 预打包版(双击 .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