Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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!!! #649

Open
wizard3376 opened this issue May 6, 2024 · 1 comment

Comments

@wizard3376
Copy link

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

  • [email protected]
    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)

@Amit30swgoh
Copy link

try instead of main.py to use your mounted google drive path were the main.py for example:
!python /content/drive/MyDrive/ComfyUI/main.py --dont-print-server --highvram

good luck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants