Comfy-Org / Comfy-Org/ComfyUI

module name sqlalchemy

Open
#16,097 4 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Your question

我在执行python main.py --enable-manager这段命令的时候显示没有叫sqlalchemy的这个模块。

### Logs

```powershell
Traceback (most recent call last):
File "E:\comfyui\ComfyUI_windows_portable\ComfyUI\main.py", line 25, in
from app.assets.seeder import asset_seeder
File "E:\comfyui\ComfyUI_windows_portable\ComfyUI\app\assets\seeder.py", line 11, in
from app.assets.scanner import (
...<13 lines>...
)
File "E:\comfyui\ComfyUI_windows_portable\ComfyUI\app\assets\scanner.py", line 7, in
from app.assets.database.queries import (
...<16 lines>...
)
File "E:\comfyui\ComfyUI_windows_portable\ComfyUI\app\assets\database\queries\__init__.py", line 1, in
from app.assets.database.queries.asset import (
...<8 lines>...
)
File "E:\comfyui\ComfyUI_windows_portable\ComfyUI\app\assets\database\queries\asset.py", line 1, in
import sqlalchemy as sa
ModuleNotFoundError: No module named 'sqlalchemy'
```

### Other

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by checking which Python environment runs `python main.py --enable-manager` and whether that environment can import `sqlalchemy`. The traceback points from `main.py` through `app/assets/scanner.py` into `app/assets/database/queries/asset.py`; compare the environment's installed dependencies with the project's setup instructions. Done means the reported command starts without this `ModuleNotFoundError`.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sqlalchemy
Domain
databases
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.