Skip to content

[Bug]插件商店无法安装插件 #9336

Description

@Haoxiang-Fant

What happened / 发生了什么

使用WebUI自带的插件商店无法安装插件,尝试升级pip不起作用

Reproduce / 如何复现?

使用Launcher安装最新版Astrbot后安装插件报错

AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

0.3.9 Windows Launcher

OS

Windows

Logs / 报错日志

[2026-07-21 03:00:46.348] [Core]
[ERRO]
[v4.26.7] [star.star_manager:373]: Failed to install dependencies for plugin astrbot_plugin_memorix: Installation failed with error code 1
Traceback (most recent call last):
File "C:\Users\范浩翔.astrbot_launcher\instances\572f0f88-d473-40e3-aebd-66e9890fb379\core\astrbot\core\star\star_manager.py", line 358, in _ensure_plugin_requirements
await _install_requirements_with_precheck(
File "C:\Users\范浩翔.astrbot_launcher\instances\572f0f88-d473-40e3-aebd-66e9890fb379\core\astrbot\core\star\star_manager.py", line 185, in _install_requirements_with_precheck
await pip_installer.install(
File "C:\Users\范浩翔.astrbot_launcher\instances\572f0f88-d473-40e3-aebd-66e9890fb379\core\astrbot\core\utils\pip_installer.py", line 1035, in install
await self._run_pip_with_classification(args)
File "C:\Users\范浩翔.astrbot_launcher\instances\572f0f88-d473-40e3-aebd-66e9890fb379\core\astrbot\core\utils\pip_installer.py", line 1089, in _run_pip_with_classification
raise PipInstallError(
astrbot.core.utils.pip_installer.PipInstallError: Installation failed with error code 1
[2026-07-21 03:00:46.460] [Core]
[WARN]
[v4.26.7] [star.star_manager:1734]: Failed to install plugin astrbot_plugin_memorix; installation directory: C:\Users\范浩翔.astrbot_launcher\instances\572f0f88-d473-40e3-aebd-66e9890fb379\core\data\plugins\astrbot_plugin_memorix
[2026-07-21 03:00:46.460] [Core]
[ERRO]
[v4.26.7] [api.plugins:125]: /api/plugin/install failed
Traceback (most recent call last):
File "C:\Users\范浩翔.astrbot_launcher\instances\572f0f88-d473-40e3-aebd-66e9890fb379\core\astrbot\core\star\star_manager.py", line 358, in _ensure_plugin_requirements
await _install_requirements_with_precheck(
File "C:\Users\范浩翔.astrbot_launcher\instances\572f0f88-d473-40e3-aebd-66e9890fb379\core\astrbot\core\star\star_manager.py", line 185, in _install_requirements_with_precheck
await pip_installer.install(
File "C:\Users\范浩翔.astrbot_launcher\instances\572f0f88-d473-40e3-aebd-66e9890fb379\core\astrbot\core\utils\pip_installer.py", line 1035, in install
await self._run_pip_with_classification(args)
File "C:\Users\范浩翔.astrbot_launcher\instances\572f0f88-d473-40e3-aebd-66e9890fb379\core\astrbot\core\utils\pip_installer.py", line 1089, in _run_pip_with_classification
raise PipInstallError(
astrbot.core.utils.pip_installer.PipInstallError: Installation failed with error code 1

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\范浩翔.astrbot_launcher\instances\572f0f88-d473-40e3-aebd-66e9890fb379\core\astrbot\dashboard\api\plugins.py", line 113, in _run_service
result = await run_maybe_async(operation)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\范浩翔.astrbot_launcher\instances\572f0f88-d473-40e3-aebd-66e9890fb379\core\astrbot\dashboard\async_utils.py", line 20, in run_maybe_async
return await resolve_maybe_awaitable(result)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\范浩翔.astrbot_launcher\instances\572f0f88-d473-40e3-aebd-66e9890fb379\core\astrbot\dashboard\async_utils.py", line 12, in resolve_maybe_awaitable
value = await cast(Awaitable[T], value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\范浩翔.astrbot_launcher\instances\572f0f88-d473-40e3-aebd-66e9890fb379\core\astrbot\dashboard\services\plugin_service.py", line 1590, in install_plugin
plugin_info = await self.plugin_manager.install_plugin(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\范浩翔.astrbot_launcher\instances\572f0f88-d473-40e3-aebd-66e9890fb379\core\astrbot\core\star\star_manager.py", line 1680, in install_plugin
await self._ensure_plugin_requirements(
File "C:\Users\范浩翔.astrbot_launcher\instances\572f0f88-d473-40e3-aebd-66e9890fb379\core\astrbot\core\star\star_manager.py", line 374, in _ensure_plugin_requirements
raise dependency_error from e
astrbot.core.star.star_manager.PluginDependencyInstallError: Failed to install dependencies for plugin astrbot_plugin_memorix: Installation failed with error code 1

Are you willing to submit a PR? / 你愿意提交 PR 吗?

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreThe bug / feature is about astrbot's core, backendarea:webuiThe bug / feature is about webui(dashboard) of astrbot.bugSomething isn't workingfeature:pluginThe bug / feature is about AstrBot plugin system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions