xxdd 发表于 2026-8-24 14:38:34

【已解答】面板更新后,无法启动

ModuleNotFoundError: No module named 'pyinotify'\nTraceback (most recent call last):File "/www/server/panel/BT-Panel", line 16, in <module>    import pyinotifyModuleNotFoundError: No module named 'pyinotify'\nTraceback (most recent call last):File "/www/server/panel/BT-Panel", line 16, in <module>    import pyinotifyModuleNotFoundError: No module named 'pyinotify'\nTraceback (most recent call last):File "/www/server/panel/BT-Panel", line 16, in <module>    import pyinotifyModuleNotFoundError: No module named 'pyinotify'\nTraceback (most recent call last):File "/www/server/panel/BT-Panel", line 16, in <module>    import pyinotifyModuleNotFoundError: No module named 'pyinotify'

堡塔运维塔塔 发表于 2026-8-24 16:31:54

您好,根据报错来看,是因为面板的 Python 虚拟环境中缺少了 pyinotify 这个模块导致的
您可以尝试手动安装该模块
btpip install pyinotify

如果不行,则直接修复python环境
bash /www/server/panel/tools.py repair_pyenv

或者覆盖安装面板。

倘若您的问题依然没有解决,您可以通过客服咨询宝塔面板相关问题:https://docs.bt.cn/wechat-service
操作方式:复制链接在微信打开,即可在线咨询客服。
页: [1]
查看完整版本: 【已解答】面板更新后,无法启动