ComfyUI-3D-Pack icon indicating copy to clipboard operation
ComfyUI-3D-Pack copied to clipboard

ComfyUI desktop install error

Open manassm opened this issue 1 year ago • 1 comments

I tried installing this through comfyUI desktop but got error saying: ComfyUI-3D-Pack install failed: Bad Request

manassm avatar Nov 25 '24 23:11 manassm

I just went through the trouble of installing this yesterday, sharing my experience:

  1. To solve the Bad Request error in the manager UI, change bypass_ssl = False to bypass_ssl = True in ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\config.ini (pointed out here)
  2. Even after this, the package will fail to load because of missing dependencies. You will have to look at the terminal output for missing packages and install them manually using python shipped with ComfyUI (e.g. C:\ComfyUI_windows_portable\python_embeded\python.exe -s -m pip install [missing-package]). Some of the packages off the top of my head that need to be installed manually: omegaconf, kiui, nvdiffrast (must be installed by cloning their repository and building it locally), ninja, torch_scatter (see next), pytorch3d (must be installed by cloning their repository and building it locally), onnxruntime/onnxruntime-gpu, diffusers==0.29.0, xformers==0.0.28.post3.
  3. Installing torch-scatter requires copying include and libs folders from a full python installation to the portable one ComfyUI ships with (check which version ComfyUI is using, install the same version of python locally and copy these folders from python installation to ComfyUI_windows_portable\python_embeded\). This fixes the "Python.h: No such file or directory" error during the build.
  4. Some workflows seem to have missing custom nodes that don't get detected by the manager, though I've only run into "IMG_padder" node in CharacterGen_to_Unique3D.json workflow so far. This is an outdated node from Eden.art_nodesuite package where it has been renamed to "Eden_IMG_padder" in recent versions (hence why it doesn't get detected by the manager's resolver), so if you're going to use that workflow you'll have edit it by manually replacing all occurrences of "type":"IMG_padder" with "type":"Eden_IMG_padder" in that file with a text editor.

Hope this helps.

1iminal avatar Nov 26 '24 04:11 1iminal