Tried to update comfyui, didn't work correctly, now comfyui won't run #9117
-
First of all, comfyui isn't running for me at all anymore. This is what I did, and the errors I'm having now: I'm running a portable installation of comfyui, which if I understand correctly runs python from the python_embedded folder rather than a windows C: drive python installation directory. I tried to update comfy from "update_comfyui.bat" in the ComfyUI_windows_portable\update folder, per the instructions here: https://docs.comfy.org/installation/update_comfyui#comfyui-portable-windows However, it said something about me needing to update pip. I tried running update_comfyui_and_python_dependencies.bat, but it seems that might have messed things up for me more. At any rate, I'm having problems now, and I don't know how to fix it. I tried following instructions to manually update pip, but I don't know if I understand how to install from the command line correctly. I opened python.exe in the ComfyUI_windows_portable\python_embeded folder to try to install manually, per the page I linked, then typed "-m pip install -r ComfyUI\requirements.txt" to update manually. I also tried "-m pip install --upgrade pip", per another screen I got when trying to update my install. However, when I type these commands, I just get the response "SyntaxError: invalid syntax". When I try to run ComfyUI_windows_portable\run_nvidia_gpu.bat now, this is the output I get: D:\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build ComfyUI-Manager: installing dependencies done.** ComfyUI startup time: 2025-07-30 14:38:19.416 [notice] A new release of pip is available: 25.0.1 -> 25.1.1 Prestartup times for custom nodes: Checkpoint files will always be loaded safely. D:\ComfyUI_windows_portable>pause How am I supposed to use the command line correctly, and what do I have to do to get comfy working again? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The core reason is that after you run update_comfyui_and_python_dependencies.bat, torch may also have been updated, and the updated version is not compatible with your CUDA
Let me know if this works. I'm currently using a MacBook, so I don't know if it's right. |
Beta Was this translation helpful? Give feedback.
The core reason is that after you run update_comfyui_and_python_dependencies.bat, torch may also have been updated, and the updated version is not compatible with your CUDA