#4477 OSError: [WinError 1314] 客户端没有所需的特权。: '..\\..\\blobs\\0adcd01e7c237205d593b707e66dd5d7bc785d2d' -> 'E:\\win-videotrans-v

27.10* Posted at: 7 hours ago 👁15

Traceback (most recent call last):
File "videotrans\process\_overall.py", line 45, in run
File "faster_whisper\transcribe.py", line 667, in init
File "faster_whisper\utils.py", line 118, in download_model
File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\_snapshot_download.py", line 332, in snapshot_download
File "tqdm\contrib\concurrent.py", line 69, in thread_map
File "tqdm\contrib\concurrent.py", line 51, in _executor_map
File "tqdm\std.py", line 1169, in iter
File "concurrent\futures\_base.py", line 609, in result_iterator
File "concurrent\futures\_base.py", line 439, in result
File "concurrent\futures\_base.py", line 391, in __get_result
File "concurrent\futures\thread.py", line 58, in run
File "huggingface_hub\_snapshot_download.py", line 306, in _inner_hf_hub_download
File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\file_download.py", line 1010, in hf_hub_download
File "huggingface_hub\file_download.py", line 1165, in _hf_hub_download_to_cache_dir
File "huggingface_hub\file_download.py", line 734, in _create_symlink
OSError: [WinError 1314] 客户端没有所需的特权。: '..\..\blobs\0adcd01e7c237205d593b707e66dd5d7bc785d2d' -> 'E:\win-videotrans-v3.83\models\models--mobiuslabsgmbh--faster-whisper-large-v3-turbo\snapshots\0a363e9161cbc7ed1431c9597a8ceaf0c4f78fcf\vocabulary.json'


=
system:Windows-10-10.0.19045-SP0
version:v3.83
frozen:True
language:zh
root_dir:E:/win-videotrans-v3.83

1 Replies

这是由于在 Windows 普通用户权限下,huggingface_hub 尝试创建符号链接但缺少“创建符号链接”的权限所致。常见的解决方式有三种:

  1. 以管理员身份运行软件:右键点击 sp.exe,选择“以管理员身份运行”。不过下次启动仍需如此,可右键 → 属性 → 兼容性 → 勾选“以管理员身份运行此程序”。
  2. 禁用 Hugging Face Hub 的符号链接:手动添加一个系统环境变量 HF_HUB_DISABLE_SYMLINKS,值设为 1,然后重启软件。这样会自动改用硬拷贝而非符号链接,避免权限问题。
  3. 直接手动下载模型(推荐,一劳永逸)

    • E:\win-videotrans-v3.83\models 下创建文件夹 models--mobiuslabsgmbh--faster-whisper-large-v3-turbo
    • 打开模型下载页面:https://huggingface.co/mobiuslabsgmbh/faster-whisper-large-v3-turbo/tree/main
    • 将该页面上所有的 .json.bin.txt 文件下载到刚才创建的文件夹内。
    • 模型已就绪,之后启动软件时将直接使用本地文件,不再触发自动下载。

请查阅相关文档:

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