Closed kLogos closed 4 months ago
这不是我插件引起的吧🤔
确实,不好意思截错了,应该是这段:
07-11 20:48:53 [ERROR] nonebot | Failed to import "nonebot-plugin-ncm"
Traceback (most recent call last):
File "
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\nonebot\plugin\manager.py", line 142, in load_plugin module = importlib.import_module(name) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\importlib__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "
", line 1387, in _gcd_import File " ", line 1360, in _find_and_load File " ", line 1324, in _find_and_load_unlocked ModuleNotFoundError: No module named 'nonebot-plugin-ncm'
你确定安装该插件了吗?
安装了的,能问一下删除插件的命令是什么吗,或许重新安装一下就可以了
按照教程用nb下载后显示这些是为什么 Task exception was never retrieved future: <Task finished name='Task-3' coro=<Connection.run() done, defined at C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\playwright_impl_connection.py:265> exception=NotImplementedError()> Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\playwright_impl_connection.py", line 272, in run await self._transport.connect() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\playwright_impl_transport.py", line 133, in connect raise exc File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\playwright_impl_transport.py", line 120, in connect self._proc = await asyncio.create_subprocess_exec( File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\subprocess.py", line 218, in create_subprocess_exec transport, protocol = await loop.subprocess_exec( File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 1681, in subprocess_exec transport = await self._make_subprocess_transport( File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 498, in _make_subprocess_transport raise NotImplementedError NotImplementedError 07-11 20:07:26 [ERROR] uvicorn | Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\starlette\routing.py", line 732, in lifespan async with self.lifespan_context(app) as maybe_state: File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\contextlib.py", line 199, in aenter return await anext(self.gen) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\drivers\fastapi.py", line 153, in _lifespan_manager await self._lifespan.startup() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\internal\driver_lifespan.py", line 42, in startup await self._run_lifespan_func(self._startup_funcs) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\internal\driver_lifespan.py", line 36, in _run_lifespan_func await cast(ASYNC_LIFESPAN_FUNC, func)() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot_plugin_htmlrender__init.py", line 38, in init browser = await get_browser(kwargs) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot_plugin_htmlrender\browser.py", line 61, in get_browser return _browser if _browser and _browser.is_connected() else await init(kwargs) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot_plugin_htmlrender\browser.py", line 32, in init _playwright = await async_playwright().start() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\playwright\async_api_context_manager.py", line 51, in start return await self.aenter() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\playwright\async_api_context_manager.py", line 46, in aenter__ playwright = AsyncPlaywright(next(iter(done)).result()) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\playwright_impl_transport.py", line 120, in connect self._proc = await asyncio.create_subprocess_exec( File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\subprocess.py", line 218, in create_subprocess_exec transport, protocol = await loop.subprocess_exec( File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 1681, in subprocess_exec transport = await self._make_subprocess_transport( File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 498, in _make_subprocess_transport raise NotImplementedError NotImplementedError
07-11 20:07:26 [ERROR] uvicorn | Application startup failed. Exiting.