Comfy-Org / Comfy-Org/ComfyUI

Cannot get ComfyUI to launch for manual installation; 'torch' missing error

Open
#2,752 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

I tried to download Comfyui manually, but it still gives me the same error. I installed torch in the ComfyUI folder because the ComfyUI installation guide does not provide a location to install it: C:\Users\urani\ComfyUI_manual_install\ComfyUI>python main.py --force-fp16
Traceback (most recent call last):
File "C:\Users\urani\ComfyUI_manual_install\ComfyUI\main.py", line 73, in
import comfy.utils
File "C:\Users\urani\ComfyUI_manual_install\ComfyUI\comfy\utils.py", line 1, in
import torch
ModuleNotFoundError: No module named 'torch'

Contributor guide

Open the contributing guide

Research direction

The traceback points to main.py and comfy/utils.py, where the manual launch reaches import torch. Start by checking the manual installation guide and reproducing `python main.py --force-fp16` in the documented environment. Done means the guide clearly identifies how to install torch and the command no longer fails with ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.