moonraker-telegram-bot icon indicating copy to clipboard operation
moonraker-telegram-bot copied to clipboard

[Bug]: ModuleNotFoundError: No module named 'cv2'

Open RNGIllSkillz opened this issue 5 months ago • 7 comments

What happened and in what context?

installed with kiauh on armbian iot. moonraker-telegram-bot will not start with ModuleNotFoundError: No module named 'cv2' error. python3-opencv is installed on the system

If needed, paste the relevant bot log contents here.

Sep 09 01:54:17 orangepi5pro systemd[1]: moonraker-telegram-bot.service: Failed with result 'exit-code'. Sep 09 01:54:17 orangepi5pro systemd[1]: moonraker-telegram-bot.service: Main process exited, code=exited, status=1/FAILURE Sep 09 01:54:17 orangepi5pro python[22647]: ModuleNotFoundError: No module named 'cv2' Sep 09 01:54:17 orangepi5pro python[22647]: ^^^^^^^^^^ Sep 09 01:54:17 orangepi5pro python[22647]: import cv2 # type: ignore Sep 09 01:54:17 orangepi5pro python[22647]: File "/home/illskillz/moonraker-telegram-bot/bot/camera.py", line 16, in Sep 09 01:54:17 orangepi5pro python[22647]: from camera import Camera Sep 09 01:54:17 orangepi5pro python[22647]: File "/home/illskillz/moonraker-telegram-bot/bot/notifications.py", line 14, in Sep 09 01:54:17 orangepi5pro python[22647]: from notifications import Notifier Sep 09 01:54:17 orangepi5pro python[22647]: File "/home/illskillz/moonraker-telegram-bot/bot/websocket_helper.py", line 12, in Sep 09 01:54:17 orangepi5pro python[22647]: from websocket_helper import WebSocketHelper Sep 09 01:54:17 orangepi5pro python[22647]: File "/home/illskillz/moonraker-telegram-bot/bot/main.py", line 41, in Sep 09 01:54:17 orangepi5pro python[22647]: Traceback (most recent call last): Sep 09 01:54:16 orangepi5pro systemd[1]: Started moonraker-telegram-bot.service - Moonraker Telegram Bot SV1 NST%. Sep 09 01:54:16 orangepi5pro systemd[1]: Stopped moonraker-telegram-bot.service - Moonraker Telegram Bot SV1 NST%. Sep 09 01:54:16 orangepi5pro systemd[1]: moonraker-telegram-bot.service: Scheduled restart job, restart counter is at 84. Sep 09 01:54:06 orangepi5pro systemd[1]: moonraker-telegram-bot.service: Failed with result 'exit-code'. Sep 09 01:54:06 orangepi5pro systemd[1]: moonraker-telegram-bot.service: Main process exited, code=exited, status=1/FAILURE

If needed, paste the relevant bot journal contents here.

No response

What branch does this occur on?

master

Reports only on latest master or development branches!

  • [X] I have updated to latest development/master version before submitting the bug

RNGIllSkillz avatar Sep 08 '24 22:09 RNGIllSkillz