Comments (5)
发一下下载时的报错日志
from genshin_impact_bot.
[2021-10-04 11:34:45,200 nonebot] ERROR: Failed to import "hoshino.modules.Genshin_Impact_bot.gacha", error: No module named 'loguru'
[2021-10-04 11:34:45,200 nonebot] ERROR: No module named 'loguru'
[2021-10-04 11:34:45,204 nonebot] INFO: Succeeded to import "hoshino.modules.Genshin_Impact_bot.almanac"
[2021-10-04 11:34:45,205 nonebot] ERROR: Failed to import "hoshino.modules.Genshin_Impact_bot.query_resource_points", error: No module named 'loguru'
[2021-10-04 11:34:45,205 nonebot] ERROR: No module named 'loguru'
from genshin_impact_bot.
[2021-10-04 11:41:20,556 nonebot] ERROR: Failed to import "hoshino.modules.shebot.conhead", error: No module named 'cv2'
[2021-10-04 11:41:20,556 nonebot] ERROR: No module named 'cv2'
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/nonebot/plugin.py", line 263, in load_plugin
module = importlib.import_module(module_path)
File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/root/yuanshenbot/hoshino/modules/shebot/conhead/init.py", line 17, in
from .opencv import add
File "/root/yuanshenbot/hoshino/modules/shebot/conhead/opencv.py", line 4, in
import cv2
ModuleNotFoundError: No module named 'cv2'
[2021-10-04 11:41:20,635 hoshino] ERROR: 缺少图片资源:/root/yuanshenbot/res/img/priconne/gadget/equip.png
[2021-10-04 11:41:20,635 chara] ERROR: [Errno 2] No such file or directory: '/root/yuanshenbot/res/img/priconne/gadget/equip.png'
Traceback (most recent call last):
File "/root/yuanshenbot/hoshino/modules/priconne/chara.py", line 28, in
gadget_equip = R.img('priconne/gadget/equip.png').open()
File "/root/yuanshenbot/hoshino/R.py", line 50, in open
return Image.open(self.path)
File "/usr/local/lib/python3.8/site-packages/PIL/Image.py", line 2968, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/root/yuanshenbot/res/img/priconne/gadget/equip.png'
[2021-10-04 11:41:20,661 hoshino] ERROR: 缺少图片资源:/root/yuanshenbot/res/img/priconne/gadget/thumb-up-i.png
[2021-10-04 11:41:20,661 pcr-arena] ERROR: [Errno 2] No such file or directory: '/root/yuanshenbot/res/img/priconne/gadget/thumb-up-i.png'
Traceback (most recent call last):
File "/root/yuanshenbot/hoshino/modules/priconne/arena/init.py", line 31, in
thumb_up_i = R.img('priconne/gadget/thumb-up-i.png').open().resize((16, 16), Image.LANCZOS)
File "/root/yuanshenbot/hoshino/R.py", line 50, in open
return Image.open(self.path)
File "/usr/local/lib/python3.8/site-packages/PIL/Image.py", line 2968, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/root/yuanshenbot/res/img/priconne/gadget/thumb-up-i.png'
[2021-10-04 11:41:20,677 nonebot] ERROR: Failed to import "hoshino.modules.Genshin_Impact_bot.gacha", error: No module named 'loguru'
[2021-10-04 11:41:20,677 nonebot] ERROR: No module named 'loguru'
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/nonebot/plugin.py", line 263, in load_plugin
module = importlib.import_module(module_path)
File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/root/yuanshenbot/hoshino/modules/Genshin_Impact_bot/gacha/init.py", line 2, in
from .gacha import gacha_info , FILE_PATH , Gacha , POOL
File "/root/yuanshenbot/hoshino/modules/Genshin_Impact_bot/gacha/gacha.py", line 3, in
from .pool_data import POOL ,UP_PROBABILITY,POOL_PROBABILITY,DISTANCE_FREQUENCY
File "/root/yuanshenbot/hoshino/modules/Genshin_Impact_bot/gacha/pool_data.py", line 3, in
from loguru import logger
ModuleNotFoundError: No module named 'loguru'
[2021-10-04 11:41:20,682 nonebot] ERROR: Failed to import "hoshino.modules.Genshin_Impact_bot.query_resource_points", error: No module named 'loguru'
[2021-10-04 11:41:20,682 nonebot] ERROR: No module named 'loguru'
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/nonebot/plugin.py", line 263, in load_plugin
module = importlib.import_module(module_path)
File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/root/yuanshenbot/hoshino/modules/Genshin_Impact_bot/query_resource_points/init.py", line 3, in
from .query_resource_points import get_resource_map_mes,get_resource_list_mes,init_point_list_and_map
File "/root/yuanshenbot/hoshino/modules/Genshin_Impact_bot/query_resource_points/query_resource_points.py", line 4, in
from loguru import logger
ModuleNotFoundError: No module named 'loguru'
from genshin_impact_bot.
[2021-10-04 11:41:20,635 hoshino] ERROR: 缺少图片资源:/root/yuanshenbot/res/img/priconne/gadget/equip.png
[2021-10-04 11:41:20,635 chara] ERROR: [Errno 2] No such file or directory: '/root/yuanshenbot/res/img/priconne/gadget/equip.png'
这个报错,你看路径/root/yuanshenbot/res/img/priconne/gadget/equip.png
和本项目路径/root/yuanshenbot/hoshino/modules/Genshin_Impact_bot/
并非同一个....
从以上报错信息建议您运行此命令:
pip install loguru opencv-python
from genshin_impact_bot.
Thanks a lot.我成功解决了此问题
from genshin_impact_bot.
Related Issues (20)
- material_remind 插件未能正常加载 HOT 1
- 更新新圣遗物 HOT 1
- 大佬,请问大地图还更新吗 HOT 2
- 更新了新的圣遗物 HOT 7
- 圣遗物评分无响应
- 怎么查渊下宫、层岩巨渊下层资源点地图 HOT 1
- 3.0须弥地图无法加载 HOT 5
- 卡池更新API报302错误 HOT 7
- 3.0的资源好像还没有加入 HOT 1
- 💠 GI Bot 1.x 改进提案 HOT 2
- 将核心部分拆分到 `core` 分支以解决重复更新代码及两个分支有差异的问题
- 新副本还会更新吗 HOT 2
- 群消息发送失败,账号可能被风控 HOT 2
- 抽卡 HOT 2
- nonebot2启动机器人报错 HOT 11
- 需要更新一波渊下宫地图 HOT 9
- 既然没有windows,做个Dockerfile吧,让windows也能用。 HOT 2
- 请问这个适配nonebotv2.0.0b1了吗 HOT 2
- 查看体力值 HOT 2
- 【重要】Hoshino版本的部分功能存在CQ码注入漏洞 HOT 4
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 genshin_impact_bot.