From 0947deb372691f19c2d7697c6648882ff3417458 Mon Sep 17 00:00:00 2001 From: Aqr-K <95741669+Aqr-K@users.noreply.github.com> Date: Wed, 3 Sep 2025 14:27:24 +0800 Subject: [PATCH] fix plugin.py --- app/helper/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helper/plugin.py b/app/helper/plugin.py index 7f001a4a..33499d92 100644 --- a/app/helper/plugin.py +++ b/app/helper/plugin.py @@ -470,7 +470,7 @@ class PluginHelper(metaclass=WeakSingleton): # 如果不存在,选项为空列表,对后续命令无影响 logger.debug(f"[PIP] 未发现插件内嵌的 wheels 目录,将仅使用在线源。") - base_cmd = [sys.executable, "-m", "pip", "install", "-r", str(requirements_file)] + base_cmd = [sys.executable, "-m", "pip", "install"] + find_links_option + ["-r", str(requirements_file)] strategies = [] # 添加策略到列表中