Replies: 2 comments 3 replies
-
你 nonebot-adapter-onebot 的版本过低,请更新。 |
Beta Was this translation helpful? Give feedback.
2 replies
-
我已经更新到最新版了
…---Original---
From: ***@***.***>
Date: Sat, Mar 1, 2025 22:30 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [nonebot/discussions] ImportError: cannot import name'ModelField' from 'pydantic.fields' (Discussion #574)
你 nonebot-adapter-onebot 的版本过低,请更新。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
当我跟着快速上手进行到最后一步运行模板的时候显示这个报错
ImportError: cannot import name 'ModelField' from 'pydantic.fields'
,这是详细的报错信息:这是我的nonebot版本:“Name: nonebot2
Version: 2.4.1
Summary: An asynchronous python bot framework.
Home-page: https://nonebot.dev/
Author: yanyongyu
Author-email: yyy@nonebot.dev
License: MIT
Location: D:\anaconda\Lib\site-packages
Requires: anyio, exceptiongroup, loguru, pydantic, pygtrie, python-dotenv, typing-extensions, yarl
Required-by: nonebot-adapter-console, nonebot-adapter-mail, nonebot-adapter-mirai, nonebot-adapter-onebot, nonebot-adapter-qq, nonebot-adapter-red, nonebot-adapter-wxmp, nonebot-plugin-localstore”,我把重新开了一个项目之后还是没用,依然报错
Beta Was this translation helpful? Give feedback.
All reactions