Comments (5)
请问你是拿记事本写代码的吗?
你跑过自己写的插件吗?就往nb商店发?
from nonebot2.
?
from nonebot2.
诶不是哥们你那。
是什么东西(
from nonebot2.
第一,使用localstore管理你的数据和缓存文件,而不是到处扔。
第二,不要使用requests来完成网络请求,如果强依赖openai的话,他有有自己的openai-python的异步请求方式,如果不强依赖,则统一使用httpx的异步或者aiohttp进行网络请求
第三,文件管理很混乱,一部分用os.path,一部分又直接相对路径,一部分又用pathlib.Path,建议统一用pathlib.Path(配合第一条)
第四,对你的依赖文件进行版本限制和约束,推荐考虑poetry或者pdm进行依赖管理,而不是自己手打依赖
from nonebot2.
📃 商店发布检查结果
Plugin: nonebot-plugin-multigpt
⚠️ 无法获取到插件元数据。请确保插件正常加载。 ⚠️ 插件加载测试未通过。测试输出
插件 nonebot-plugin-multigpt 的信息如下:
name : nonebot-plugin-multigpt
version : 1.1
description : nonebot插件-多模ai工具
dependencies
- aiohttp *
- anyio *
- nonebot2 *
- pillow *
- python-docx *
- python-pptx *
插件 nonebot-plugin-multigpt 依赖的插件如下:
插件 nonebot_plugin_multigpt 加载出错:
06-08 11:26:10 [SUCCESS] nonebot | NoneBot is initializing...
06-08 11:26:10 [INFO] nonebot | Current Env: prod
06-08 11:26:10 [ERROR] nonebot | Failed to import "nonebot_plugin_multigpt"
Traceback (most recent call last):
File "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-plugin-multigpt-nonebot_plugin_multigpt-test/runner.py", line 16, in <module>
plugin = load_plugin("nonebot_plugin_multigpt")
File "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-plugin-multigpt-nonebot_plugin_multigpt-test/.venv/lib/python3.12/site-packages/nonebot/plugin/load.py", line 40, in load_plugin
return manager.load_plugin(module_path)
> File "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-plugin-multigpt-nonebot_plugin_multigpt-test/.venv/lib/python3.12/site-packages/nonebot/plugin/manager.py", line 167, in load_plugin
module = importlib.import_module(self._third_party_plugin_ids[name])
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-plugin-multigpt-nonebot_plugin_multigpt-test/.venv/lib/python3.12/site-packages/nonebot/plugin/manager.py", line 255, in exec_module
super().exec_module(module)
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-plugin-multigpt-nonebot_plugin_multigpt-test/.venv/lib/python3.12/site-packages/nonebot_plugin_multigpt/__init__.py", line 7, in <module>
from nonebot.adapters.onebot.v11 import (
ModuleNotFoundError: No module named 'nonebot.adapters.onebot'
详情
✅ 项目 nonebot-plugin-multigpt 已发布至 PyPI。 ✅ 标签: PPT-#ea5252, ai-#ea5252, GPT-#ea5252。
💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。
💡 当插件加载测试失败时,请发布新版本后在当前页面下评论任意内容以触发测试。
♻️ 评论已更新至最新检查结果
💪 Powered by NoneFlow
from nonebot2.
Related Issues (20)
- Plugin: 绝地潜兵信息查询小助手 HOT 6
- Plugin: asmr HOT 11
- Plugin: 日麻猜手牌小游戏 HOT 1
- Plugin: nonebot_plugin_obastatus HOT 19
- Plugin: EVE ONLINE 多功能机器人 版本 - v0.2.3 HOT 16
- Plugin: NTQQ自动登录/断连重启 HOT 2
- Plugin: b站消息转发 HOT 6
- Plugin: QQ群-Discord 互通 HOT 3
- Plugin: nonebot-plugin-discord-message-bridge HOT 6
- Plugin: 指令更新NapCat HOT 5
- Plugin: nonebot-plugin-mai-online-lineup HOT 3
- Plugin: nonebot-plugin-mai-online-lineup HOT 1
- Plugin: 鸣潮wiki HOT 13
- Plugin: cloudfare R2 客服端 HOT 3
- Plugin: cloudfare R2 客服端 HOT 3
- Plugin: 学习强国挂机 HOT 9
- Plugin: 漫展/展览查询 HOT 8
- Feature: 请添加一个nonebot生态系统的CI,每次你们的插件更新 或是nonbot更新 都会发现这样或者那样的问题 HOT 23
- Plugin: 再润 HOT 3
- Plugin: wordle HOT 5
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 nonebot2.