#ModuleNotFoundError: No module named 'torch' error

29 messages · Page 1 of 1 (latest)

midnight wadiBOT
signal onyxBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

sleek ravine
#

It seems like you just need to rerun pip install -r requirements.txt from the comfyui folder? I'm not exactly sure how that template is configured off the top of my head

hoary arrow
#

I have HTTP ERROR 404 when i try to open 8888 port

#

but it is ready

hoary arrow
hoary arrow
#

I tried this. buy this doesnt help.

#

in the past(1w ago) i deployed this template WO Network Storage and all was fine

hoary arrow
#

I just ran new Pod. WO Network Storage with the same 4090, same template. all work fine

celest magnet
#

rerun pip install -r requirements.txt from the comfyui folder?
or if you have any venv from the template, make sure to activate it before installing

celest magnet
hoary arrow
celest magnet
#

okay

hoary arrow
# celest magnet okay

So, what should I do to make Network Storage work properly without having to redeploy the Pod each time?
I don’t want to redeploy the Pod every time and re-download everything from scratch

celest magnet
#

Re deploy meaning what, you don't want to create a pod or you don't want to setup a pod?

#

Yes you can use network storage, when you create a pod with it, the files in /workspace or wherever you set it to mount( from the template) , will be there

hoary arrow
# celest magnet Re deploy meaning what, you don't want to create a pod or you don't want to setu...

I initially used a Pod without Network Storage, but I got tired of having to delete the Pod every time I stopped it, because the GPU kept staying occupied and I couldn’t use the Pod again.

Then I started using Network Storage with the same template as before. The first launch worked fine, but after that I can’t use it anymore because an error keeps appearing - the very reason I’m writing here. And I can’t fix it in any way.

celest magnet
#

is it just that error in the logs you sent? or theres another one

hoary arrow
celest magnet
#

yeah you can install torch in your comfyui's VENV

#

or also install the requirements.txt

hoary arrow
#

I have HTTP ERROR 404 when i try to open ports

celest magnet
#

No, use web terminal to install the packages

hoary arrow
#

I press the button, but it turns off immediately.

celest magnet
#

Okay use the jupyter notebook if there is any

#

Or any way you an get in to the terminal