Comfy-Org / Comfy-Org/ComfyUI-Manager

doesn't see the main.py file but I have it! python3: can't open file '/content/main.py': [Errno 2] No such file or directory ComfyUI Google colab HELP!!! HELP!!!

Open
#649 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
16.1k
Forks
2.5k
Avg merge
5d 4h
Merged PRs (30d)
13

Description

I'm trying to enable ComfyUI in Google Colab
I went to the link
Notepad Colab
https://colab.research.google.com/github/ltdrdata/ComfyUI-Manager/blob/main/notebooks/comfyui_colab_with_manager.ipynb

I'm launching "Run ComfyUI with localtunnel"
and then the error appears

/tools/node/bin/lt -> /tools/node/lib/node_modules/localtunnel/bin/lt.js
+ localtunnel@2.0.2
added 22 packages from 22 contributors in 2.279s
python3: can't open file '/content/main.py': [Errno 2] No such file or directory

the first time I logged into ComfyUI, the second time it gives an error, oddly enough, but I have the main.py file

it happened that I went into ComfyUI but there was a 404 error on the screen

in 99% of cases it gives an error, and in 1% you can go to ComfyUI

I also chose the second option
"Launch ComfyUI using iframe colab (use only if the previous method with localtunnel does not work)" and still an error

python3: can't open file '/content/main.py': [Errno 2] No such file or directory

Help please (0 - 0)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with notebooks/comfyui_colab_with_manager.ipynb and run the “Run ComfyUI with localtunnel” cell to inspect where it expects main.py and where the ComfyUI files are located. Compare that with the iframe launch option and reproduce the /content/main.py error; done means either launch path starts ComfyUI without the missing-file error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.