Comments (4)
问题出在pydantic包,graia.broadcast.entities.event.EventMeta类继承自pydantic中的ModelMetaclass类,在pydantic版本是1.7.1的情况下该类貌似添加了一个空的__slots__属性,导致子类都无法进行self的赋值。把pydantic包回退到1.6.1版本问题解决。
我对python了解不深,pydantic包的作用不是很清楚,还望指教。
from application.
遇到了一样的问题,ubuntu18.04,python版本3.8,在启动时报这个错误程序无法启动
from application.
(来自开发者的迷惑)
from application.
似乎是这样!
这个问题留着吧!
from application.
Related Issues (20)
- mcl登录成功后运行bot出现connect_info=Session( TypeError: __init__() got an unexpected keyword argument 'authKey'错误 HOT 1
- 提示 metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases HOT 1
- 报错 cannot import name 'BaseDispatcher' from 'graia.broadcast.entities.event' HOT 3
- cannot import name 'Protocol' HOT 2
- 问一下这个是什么问题 HOT 2
- 运行文档中例程时报错:TypeError: unhashable type: 'dict' HOT 1
- 无法正常使用本项目 HOT 2
- 提供选项使 Voice_LocalFile 传递path给mah,而非先上传后传递voice_id HOT 4
- 运行文档Kanata例程时报错
- cannot import name 'BaseDispatcher' HOT 2
- 运行bot.py报错:远程主机拒绝连接 HOT 8
- 握手失败,是否因为localhost地址和端口相关的原因 HOT 4
- 请求适配 Mirai http api 2.x HOT 1
- Graia 实际上不兼容mirai-api-http 2.x (? HOT 2
- 定时长信息发送失败
- 图片发送没有成功 HOT 2
- pip安装的0.20.1版本缺少已修复内容,请求发布新版本
- 发送带有At的消息时报错 HOT 2
- Ariadne: the future of Application HOT 2
- 文档挂了 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from application.