Open shivangvijay opened 11 months ago
having the exact same problem 👎
Did you %cd into another folder?
Try changing the code in your ComfyUI launch script to the path where your main.py folder is. In my case it's the below:
!python /content/drive/MyDrive/ComfyUI/main.py --dont-print-server
I had the issue.
you can run !pwd
and !ls
to check your current folder and the files in your folder.
in my case, my folder is /content/ComfyUI
. after I re-ran the Environment Setup
code again, the issue magically resolved.
I guess it's probably some colab re-connect issue
python3: can't open file '/content/main.py': [Errno 2] No such file or directory
I am getting this issue when trying to run it on Google colab. The install code given in this link:- [https://github.com/comfyanonymous/ComfyUI/blob/master/notebooks/comfyui_colab.ipynb]
I am exactly following this code but getting above issue.