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

Comfy3D install failed

Open liuxb99 opened this issue 1 year ago • 3 comments

File "E:\AI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-3D-Pack\install.py", line 83, in cstr("Comfy3D install failed: Dependency installation has failed. Please install manually: https://github.com/MrForExample/ComfyUI-3D-Pack/tree/main/_Pre_Builds/README.md.").error.print() NameError: name 'cstr' is not defined. Did you mean: 'str

liuxb99 avatar Aug 17 '24 01:08 liuxb99

Hi, seems there is an import error, not sure for given information, you can try to change: cstr("Comfy3D install failed: Dependency installation has failed. Please install manually: https://github.com/MrForExample/ComfyUI-3D-Pack/tree/main/_Pre_Builds/README.md.").error.print() to

print("Comfy3D install failed: Dependency installation has failed. Please install manually: https://github.com/MrForExample/ComfyUI-3D-Pack/tree/main/_Pre_Builds/README.md.") And see the real message

MrForExample avatar Aug 28 '24 00:08 MrForExample

I thought i was having trouble with this issue. it was because i hadnt pulled the whole repo just the stuff the docker file needed not the dependancies form that. Replying in case that helps at all.

steelax avatar Oct 01 '24 23:10 steelax

So, this is an error with the python path in install.py. Comfy doesn't call this file from the correct directory basically. You can run the install.py file manually:

I might try and fix it... if I were you, create a new virtual environment with venv or conda and run:

$ (virtual_env) cd ComfyUI/custom_nodes/ComfyUI-3D-Pack $ (virtual_env) pip install -r requirements.txt $ (virtual_env) python install.py

Results of running it like I did above: Screenshot from 2024-12-16 19-41-11

EvanGee avatar Dec 17 '24 02:12 EvanGee

try to install the latest version from dev branch please

DenisKochetov avatar Aug 03 '25 18:08 DenisKochetov