comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
56.06k stars 5.93k forks source link

ComfyUI not running after multiple fresh installations #4986

Closed tomgreyman closed 6 days ago

tomgreyman commented 1 month ago

Your question

I have tried my level best to reinstall a fresh copy of ComfyUi to no avail. i keep getting an error message. Can anyone help me? Capture )

Logs

No response

Other

No response

jmorbit commented 1 month ago

I have been having the same issue. I had a problem with llama-cpp not working or not installing correctly and tried to do fresh install of Comfy and now none of the installs will launch. I feel your pain.

ltdrdata commented 1 month ago

The recently added feature appears to have a bug that causes issues due to blanks in your path

jmorbit commented 1 month ago

The recently added feature appears to have a bug that causes issues due to blanks in your path

None of my links have blanks. I am at a loss.

tomgreyman commented 1 month ago

At this point I can't do a thing but just waiting for a fix to drop.

ltdrdata commented 1 month ago

The recently added feature appears to have a bug that causes issues due to blanks in your path

None of my links have blanks. I am at a loss.

Oh.. Then this could potentially be a Windows path issue. edit: hmm.. I cannot reproduce this.

ltdrdata commented 1 month ago

I've tested in all environments, but failed to reproduce the issue. In fact, the error message itself doesn't make sense in this situation.

That error message can only occur when the path C:\Users\XRGI P1MAX\Documents\AI\ComfyUI_Windows_portable\ComfyUI doesn't exist. However, since ComfyUI is running, that path must exist, so this is impossible.

At least at the code level, there's no problem. The possible scenarios are either a bug at the Python level or something going wrong at the OS level.

First, if there's already a 'user' directory within the ComfyUI path, this step is set to be skipped. However, if such obstruction to path access occurs, I can't guarantee where other issues might arise.

Try a clean install of ComfyUI directly under the root path (i.e. C:\), not under documents. This is to avoid all possible failure scenarios.

Grantyz commented 1 month ago

Try running it in the base folder (in "C:\"). A space in the username can cause errors in python.

tomgreyman commented 1 month ago

OK I will try to do that. Will update soon

tomgreyman commented 1 month ago

I have installed it on "C:" directly and it is running (default workflow). Thank you @ltdrdata @Grantyz for the suggestions. I was able to install the Comfy manager as well and update some custom nodes on my existing workflows.

github-actions[bot] commented 6 days ago

This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.