#3411 FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\yyy\\Downloads\\win-PatchUpdate-v3.96\\models\\hf_to

39.144* Posted at: 13 hours ago 👁10

Traceback (most recent call last):
File "videotrans\winform\setini.py", line 27, in save
File "pathlib.py", line 1152, in write_text
File "pathlib.py", line 1117, in open
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\yyy\Downloads\win-PatchUpdate-v3.96\models\hf_token.txt'


=
system:Windows-10-10.0.26100-SP0
version:v3.96
frozen:True
language:zh
root_dir:C:/Users/yyy/Downloads/win-PatchUpdate-v3.96

1 Replies

这是由于使用了补丁包更新,但补丁包不包含完整的 models 目录结构,导致软件尝试保存 HuggingFace Token 时找不到目标文件。

  1. 下载完整包:请停止使用补丁包,前往官方网站下载对应版本的完整 .7z 压缩包。
  2. 替换文件:将完整包解压到一个新的、非系统盘、路径无中文或特殊符号的目录(例如 D:\pyVideoTrans)。
  3. 迁移配置(可选):如果你在旧版本中已有重要配置,可以将旧目录下的 config.ini 文件复制到新解压的软件根目录下覆盖。
  4. 启动:从新目录运行 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.

Related resource

Similar issues already exist