-
Notifications
You must be signed in to change notification settings - Fork 113
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
ComfyUI Install problem - ModuleNotFoundError: No module named 'torch' #151
Comments
E:\comfynew\ComfyUI_windows_portable\python_embeded\python.exe -m pip install xformers The last command is right, you should using correct python env. |
It still errors out.
|
Check torch.cuda.is_available() |
How? :) But what i can see is that my Cuda version might be too outdated. I'll have a look here. |
Uninststalled Cuda 12.1, and installed version 12.4. Now it fails with another error.
|
[linux & win] cuda 12.4 versionpip3 install -U xformers --index-url https://download.pytorch.org/whl/cu124 try to install xformers from builded wheel. |
Hm, this installs a newer torch version than the one that comes with Comfy. And of course this errors out then :) Okay, time to let go i guess. Now i need to reinstall Comfy first ... Nevertheless, many thanks for your help. I learned a few bits again :)
|
Hey friends.
I try to install EasyAnimate in newest ComfyUI Portable manually. It is newest version and up to date.
When i follow the instructions, and type in pip install -r comfyui/requirements.txt in the EasyAnimate folder then i end in an error in the console.
ModuleNotFoundError: No module named 'torch'
Full console content:
What baffles me here is that it uses my system Python. Not the Comfy Python. Is this correct? Using the Comfy python instead runs nearly through, but ends in another error then.
In my case:
E:\comfynew\ComfyUI_windows_portable\python_embeded\python.exe -m pip install -r comfyui/requirements.txt
It ends in failing to build XFormers. Shall it even build XFormers?
The text was updated successfully, but these errors were encountered: