! OwOMizu Errors
← All errors
high install

Error installing dependencies / ModuleNotFoundError

Description

pip install failed mid-way, or the bot imports a package that was never installed.

Cause

A dependency failed to build or was skipped during install. Common offenders: onnxruntime, opencv-python-headless, selenium, discord.py-self==2.1.0, ddddocr.

Fix

Run the setup script again: python setup.py (Windows) or bash setup_termux.sh (Termux). Or install manually with pip install -r requirements.txt. On Python 3.12+ install a failing package in isolation first to see the real error. Make sure you're on Python 3.10+ (3.12 recommended).

Code change

Before
pip install -r requirements.txt
# onnxruntime fails silently, bot crashes later
After
pip install onnxruntime
pip install -r requirements.txt