#1393 PermissionError: [WinError 5] 拒绝访问。: 'C:\\Users\\Administrator\\Videos\\pyvideotrans\\translate'

2408:8248* Posted at: 3 hours ago 👁8

Traceback (most recent call last):
File "videotrans\mainwin\_main_win.py", line 548, in
File "videotrans\winform\fn_fanyisrt.py", line 20, in openwin
File "pathlib.py", line 1173, in mkdir
PermissionError: [WinError 5] 拒绝访问。: 'C:\Users\Administrator\Videos\pyvideotrans\translate'


=
Windows-10-10.0.19045-SP0
version:v3.80
frozen:True
language:zh

1 Replies

这个错误是由于软件在尝试创建输出目录时被系统权限阻止。请按以下步骤解决:

  1. 不要将软件安装在系统盘(如 C 盘)的受保护目录下。请将整个软件文件夹移动到非系统盘(如 D 盘或 E 盘)的纯英文路径下,例如 D:\videotrans
  2. 如果问题依旧,请右键点击软件主程序 sp.exe,选择 “以管理员身份运行” 来启动软件。
  3. 在软件界面中,检查并修改 “输出到..” 路径,将其设置到一个您有完全读写权限的文件夹。

根本原因是软件没有足够的权限在 C:\Users\Administrator\Videos 路径下创建文件夹。将软件移至非系统盘是推荐的解决方案。

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

Trending Questions