#4086 FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/Administrator/AppData/Local/Temp/Rar$EXa40904.48701/vi

45.135* Posted at: 2 days ago 👁21

Traceback (most recent call last):
File "videotrans\winform\fn_fanyisrt.py", line 131, in fanyi_start_fun
FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/Administrator/AppData/Local/Temp/Rar$EXa40904.48701/videotrans/cfg.json'


=
system:Windows-10-10.0.19045-SP0
version:v3.84
frozen:True
language:zh
root_dir:C:/Users/Administrator/AppData/Local/Temp/Rar$EXa40904.48701

1 Replies

这是由于软件从压缩包内直接运行导致的。错误信息显示软件试图在临时解压目录(C:/Users/Administrator/AppData/Local/Temp/Rar$EXa40904.48701/)中寻找配置文件,但该路径不稳定且可能被系统清理。

解决方案:

  1. 将下载的软件压缩包(.7z 文件)完整解压到一个固定的、路径中不含中文或特殊符号的目录(例如 D:\pyVideoTrans)。
  2. 进入解压后的文件夹,双击运行其中的 sp.exe 文件。
  3. 禁止直接在压缩包内或临时解压目录中双击 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