lllyasviel / lllyasviel/stable-diffusion-webui-forge

Linux Installation: No module named '_sqlite3'

Open
#2,250 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Trying to install forge on Ubuntu and with AMD gpu but get the error below. Of course I Trier to manually reibst all sqlite. So sqlite der as there but I still got the error. I reibst alles python and and and.. No luck. Webui.sh Stuck always there:

(venv) fantacola@fantacola-MS-7B86:~/stable-diffusion-webui-forge$ python -c "import sqlite3; print(sqlite3)"
Traceback (most recent call last):
  File "", line 1, in
  File "/usr/local/lib/python3.10/sqlite3/__init__.py", line 57, in
    from sqlite3.dbapi2 import *
  File "/usr/local/lib/python3.10/sqlite3/dbapi2.py", line 27, in
    from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the webui.sh installation path and the reported `python -c "import sqlite3; print(sqlite3)"` command in the same Ubuntu/Python 3.10 environment. Determine whether the failure is caused by the selected Python installation or Forge setup, then document a verified resolution and the conditions for a successful import.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sqlite
Domain
devops, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.