点击查看 Edge-TTS 配音渠道无法使用的解决办法!!!

#1931 FileNotFoundError: [Errno 2] No such file or directory: 'E:/python编程/视频/%5B002%5D 完整的 python 训练营/01 Course Overview/002

116.55* Posted at: 10 hours ago 👁6

Traceback (most recent call last):
File "videotrans\component\component.py", line 104, in dropEvent
FileNotFoundError: [Errno 2] No such file or directory: 'E:/python编程/视频/%5B002%5D 完整的 python 训练营/01 Course Overview/002 Course Introduction.en_US.srt'


=
system:Windows-10-10.0.26200-SP0
version:v3.89
frozen:True
language:zh
root_dir:C:/win-pyvideotrans-3.89_20251210_143714

1 Replies

这个错误是由于文件路径中包含特殊字符(%5B%5D)导致的。当您将文件拖入软件时,路径中的方括号 [] 被 URL 编码成了 %5B%5D,但软件在后续处理时无法正确识别这个编码后的路径。

解决方法如下:

  1. 重命名文件(推荐):将您的视频文件重命名,移除所有方括号 [ ]、百分号 %、空格以及其他特殊符号。例如,将 [002] 完整的 python 训练营.mp4 重命名为 002_完整的_python_训练营.mp4
  2. 移动文件:将重命名后的文件移动到一个纯英文、无空格、无特殊字符的路径下,例如 D:/videos/
  3. 重新处理:将重命名并移动后的视频文件拖入软件主界面进行处理。

根本原因:软件在处理文件路径时,对某些特殊字符(特别是URL编码字符)的支持不完善。遵循 “路径无中文、无空格、无特殊符号” 的原则可以避免绝大多数此类问题。

如果重命名后问题依旧,请提供新的错误日志。

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.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions