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

ℹ️Put ComfyUI-Manager install error here if you have any

Open MrForExample opened this issue 1 year ago • 23 comments

As in writing of this, Comfy3D v0.1.3 is tested that can be installed directly from ComfyUI-Manager, in a fresh ComfyUI v0.3.7 environment (Windows 10/11, Python 3.12, cu124, torch 2.5.1)

However, if you encountered the error when installed directly from ComfyUI-Manager, you can check two steps manual install which is no different from what ComfyUI-Manager does, i.e. git clone Comfy3D from main branch, pip install -r requirements.txt, then run install.py

If for some reason ComfyUI-Manager only git clone the Comfy3D, but didn't install it, Try Update / Try Fix button and restart the ComfyUI should be able to resume the install process

That been said, if you encountered other issues, please leave them here, I'll take a deep look in my free time, cheers, have a good day🤗

MrForExample avatar Dec 18 '24 00:12 MrForExample

Still getting same error for auto-install as manual install, even after updating Comfi-UI

J:\ComfyUI\custom_nodes\ComfyUI-3D-Pack>python install.py
Traceback (most recent call last):
  File "J:\ComfyUI\custom_nodes\ComfyUI-3D-Pack\install.py", line 19, in <module>
    from build_utils import (
  File "J:\ComfyUI\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds/_Build_Scripts\build_utils.py", line 54, in <module>
    CUDA_VERSION = get_cuda_version()
                   ^^^^^^^^^^^^^^^^^^
  File "J:\ComfyUI\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds/_Build_Scripts\build_utils.py", line 43, in get_cuda_version
    result = subprocess.run(["nvcc", "--version"], text=True, capture_output=True)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\...python path...\subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\...python path...\subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\...python path...\subprocess.py", line 1538, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
Traceback (most recent call last):
  File "J:\ComfyUI\custom_nodes\ComfyUI-3D-Pack\install.py", line 19, in <module>
    from build_utils import (
  File "J:\ComfyUI\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds/_Build_Scripts\build_utils.py", line 54, in <module>
    CUDA_VERSION = get_cuda_version()
                   ^^^^^^^^^^^^^^^^^^
  File "J:\ComfyUI\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds/_Build_Scripts\build_utils.py", line 43, in get_cuda_version
    result = subprocess.run(["nvcc", "--version"], text=True, capture_output=True)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\...python path...\subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\...python path...\subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\...python path...\subprocess.py", line 1538, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "J:\ComfyUI\custom_nodes\ComfyUI-3D-Pack\install.py", line 84, in <module>
    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'?

Buzimu avatar Dec 20 '24 04:12 Buzimu

I couldn't get the nvrastdiff OpenGL extension to compile/resolve in Windows. Chatter indicates the the Cuda context is the newer replacement but if I changed the class name I'm not sure that would be enough. Maybe I'd have to figure out kiui config as well to get it to force cuda. Gonna wait awhile and try again.

Warn!: Traceback (most recent call last):
  File "C:\_apps\ComfyUI\ComfyUI\nodes.py", line 2073, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\_apps\ComfyUI\ComfyUI\custom_nodes\ComfyUI-3D-Pack\__init__.py", line 53, in <module>
    module = importlib.import_module(f".{nodes_filename}", package=__name__)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "importlib\__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\_apps\ComfyUI\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 82, in <module>
    from Unique3D.scripts.project_mesh import multiview_color_projection, multiview_color_projection_texture, get_cameras_list, get_orbit_cameras_list
  File "C:\_apps\ComfyUI\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\scripts\project_mesh.py", line 99, in <module>
    pix2faces_renderer = Pix2FacesRenderer()
                         ^^^^^^^^^^^^^^^^^^^
  File "C:\_apps\ComfyUI\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\scripts\project_mesh.py", line 71, in __init__
    self._glctx = dr.RasterizeGLContext(output_db=False, device=device)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\_apps\ComfyUI\python_embeded\Lib\site-packages\nvdiffrast\torch\ops.py", line 228, in __init__
    self.cpp_wrapper = _get_plugin(gl=True).RasterizeGLStateWrapper(output_db, mode == 'automatic', cuda_device_idx)
                       ^^^^^^^^^^^^^^^^^^^^
  File "C:\_apps\ComfyUI\python_embeded\Lib\site-packages\nvdiffrast\torch\ops.py", line 125, in _get_plugin
    torch.utils.cpp_extension.load(name=plugin_name, sources=source_paths, extra_cflags=common_opts+cc_opts, extra_cuda_cflags=common_opts+['-lineinfo'], extra_ldflags=ldflags, with_cuda=True, verbose=False)
  File "C:\_apps\ComfyUI\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 1314, in load
    return _jit_compile(
           ^^^^^^^^^^^^^
  File "C:\_apps\ComfyUI\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 1746, in _jit_compile
    return _import_module_from_library(name, build_directory, is_python_module)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\_apps\ComfyUI\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 2141, in _import_module_from_library
    module = importlib.util.module_from_spec(spec)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing nvdiffrast_plugin_gl: The specified module could not be found.

In case it helps someone, I was able to get further than some using some additions to my batch file:

call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64
set "DISTUTILS_USE_SDK=1;%DISTUTILS_USE_SDK%"
set "INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.42.34433\include;%INCLUDE%"
set "LIB=C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.42.34433\lib\x64;%LIB%"
set "CUDA_HOME=C:\_ai\cuda\12.4.1_551.78;%CUDA_HOME%"
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
pause

dietrich-stein avatar Dec 20 '24 06:12 dietrich-stein

Updating: ComfyUI-3D-PackError handling request Traceback (most recent call last): File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_protocol.py", line 480, in _handle_request resp = await request_handler(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_app.py", line 569, in _handle return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_middlewares.py", line 117, in impl return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\ComfyUI\server.py", line 64, in cache_control response: web.Response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\ComfyUI\server.py", line 142, in origin_only_middleware response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 995, in update_custom_node res = core.unified_manager.unified_update(node_name, json_data['version']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 1281, in unified_update return self.repo_update(self.unknown_active_nodes[node_id][1], instant_execution=instant_execution, no_deps=no_deps, return_postinstall=return_postinstall).with_target('unknown') ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ KeyError: 'ComfyUI-3D-Pack' Updating: cg-image-pickerError handling request Traceback (most recent call last): File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_protocol.py", line 480, in _handle_request resp = await request_handler(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_app.py", line 569, in _handle return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_middlewares.py", line 117, in impl return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\ComfyUI\server.py", line 64, in cache_control response: web.Response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\ComfyUI\server.py", line 142, in origin_only_middleware response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 995, in update_custom_node res = core.unified_manager.unified_update(node_name, json_data['version']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 1281, in unified_update return self.repo_update(self.unknown_active_nodes[node_id][1], instant_execution=instant_execution, no_deps=no_deps, return_postinstall=return_postinstall).with_target('unknown') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 1215, in repo_update repo = git.Repo(repo_path) ^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\git\repo\base.py", line 289, in init raise InvalidGitRepositoryError(epath) git.exc.InvalidGitRepositoryError: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\cg-image-picker Updating: comfyui-art-ventureError handling request Traceback (most recent call last): File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_protocol.py", line 480, in _handle_request resp = await request_handler(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_app.py", line 569, in _handle return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_middlewares.py", line 117, in impl return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\ComfyUI\server.py", line 64, in cache_control response: web.Response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\ComfyUI\server.py", line 142, in origin_only_middleware response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 995, in update_custom_node res = core.unified_manager.unified_update(node_name, json_data['version']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 1281, in unified_update return self.repo_update(self.unknown_active_nodes[node_id][1], instant_execution=instant_execution, no_deps=no_deps, return_postinstall=return_postinstall).with_target('unknown') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 1215, in repo_update repo = git.Repo(repo_path) ^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\git\repo\base.py", line 289, in init raise InvalidGitRepositoryError(epath)

metamountain avatar Jan 09 '25 09:01 metamountain

This is the error I get;

Traceback (most recent call last):
  File "D:\AI\Apps\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\install.py", line 19, in <module>
    from build_utils import (
  File "D:\AI\Apps\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds/_Build_Scripts\build_utils.py", line 54, in <module>
    CUDA_VERSION = get_cuda_version()
                   ^^^^^^^^^^^^^^^^^^
  File "D:\AI\Apps\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds/_Build_Scripts\build_utils.py", line 49, in get_cuda_version
    raise RuntimeError(f"Please install/reinstall CUDA tookit with any of the following supported version: {build_config.supported_cuda_versions}")
RuntimeError: Please install/reinstall CUDA tookit with any of the following supported version: ['12.4', '12.1', '11.8']
Traceback (most recent call last):
  File "D:\AI\Apps\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\install.py", line 19, in <module>
    from build_utils import (
  File "D:\AI\Apps\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds/_Build_Scripts\build_utils.py", line 54, in <module>
    CUDA_VERSION = get_cuda_version()
                   ^^^^^^^^^^^^^^^^^^
  File "D:\AI\Apps\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds/_Build_Scripts\build_utils.py", line 49, in get_cuda_version
    raise RuntimeError(f"Please install/reinstall CUDA tookit with any of the following supported version: {build_config.supported_cuda_versions}")
RuntimeError: Please install/reinstall CUDA tookit with any of the following supported version: ['12.4', '12.1', '11.8']

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\AI\Apps\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\install.py", line 84, in <module>
    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'?

Edit; just realized I was running Cuda 11.4... Upgraded and all that now. But still getting IMPORT FAILED in the Custom Node Manager...

Warn!: Cannot import D:\AI\Apps\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack module for custom nodes: Ninja is required to load C++ extensions

23d1 avatar Jan 16 '25 20:01 23d1

Downloading https://storage.googleapis.com/comfy-registry/mr-for-example/comfyui-3d-pack/0.1.0/node.tar.gz to C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\CNR_temp_2274270f-10fd-43aa-860d-61c0aa620d19.zip 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 193M/193M [00:31<00:00, 6.11MB/s] Extracted zip file to C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-3d-pack 'C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-3d-pack' is moved to 'C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-3d-pack' Install: pip packages for 'C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-3d-pack' [ComfyUI-Manager] 'numpy' is remapped to 'numpy<2' [SKIP] Downgrading pip package isn't allowed: diffusers (cur=0.31.0) [SKIP] Downgrading pip package isn't allowed: transformers (cur=4.48.0) Install: install script for 'C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-3d-pack' [!] Traceback (most recent call last): [!] File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-3d-pack\install.py", line 19, in [!] from build_utils import ( [!] File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-3d-pack_Pre_Builds/_Build_Scripts\build_utils.py", line 50, in [!] CUDA_VERSION = get_cuda_version() [!] ^^^^^^^^^^^^^^^^^^ [!] File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-3d-pack_Pre_Builds/_Build_Scripts\build_utils.py", line 46, in get_cuda_version [!] raise RuntimeError(f"Please install/reinstall CUDA tookit with any of the following supported version: {build_config.supported_cuda_versions}") [!] RuntimeError: Please install/reinstall CUDA tookit with any of the following supported version: ['12.1', '11.8'] [!] [!] During handling of the above exception, another exception occurred: [!] [!] Traceback (most recent call last): [!] File "C:\ComfyUI_windows_portable\ComfyUI\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'?

metamountain avatar Jan 22 '25 12:01 metamountain

Image don't know why i got numpy2.2.2 I've already uninstalled it and installed numpy1.26 in miniconda,really confused me a lot,hope anyone helps me!

Anoldgun avatar Jan 24 '25 01:01 Anoldgun

@metamountain Hi, seems you used an old version of the project, please try main branch or newest release instead

@Anoldgun Hi, in your case you can simply reinstall the numpy using: path to your ComfyUI python.exe -s -m pip install numpy==1.26

MrForExample avatar Jan 24 '25 18:01 MrForExample

From the comfy-ui manager: Traceback (most recent call last): File "F:\krist\AppData\pinokio\api\comfy.git\app\nodes.py", line 2110, in load_custom_node module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in call_with_frames_removed File "F:\krist\AppData\pinokio\api\comfy.git\app\custom_nodes\comfyui-3d-pack_init.py", line 53, in module = importlib.import_module(f".{nodes_filename}", package=name) File "F:\krist\AppData\pinokio\bin\miniconda\lib\importlib_init_.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "F:\krist\AppData\pinokio\api\comfy.git\app\custom_nodes\comfyui-3d-pack\nodes.py", line 39, in from .mesh_processer.mesh import Mesh File "F:\krist\AppData\pinokio\api\comfy.git\app\custom_nodes\comfyui-3d-pack\mesh_processer\mesh.py", line 8, in from kiui.op import safe_normalize, dot ModuleNotFoundError: No module named 'kiui'

kristafervale avatar Jan 31 '25 17:01 kristafervale

From the comfy-ui manager: Traceback (most recent call last): File "F:\krist\AppData\pinokio\api\comfy.git\app\nodes.py", line 2110, in load_custom_node module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in call_with_frames_removed File "F:\krist\AppData\pinokio\api\comfy.git\app\custom_nodes\comfyui-3d-pack__init_.py", line 53, in module = importlib.import_module(f".{nodes_filename}", package=name) File "F:\krist\AppData\pinokio\bin\miniconda\lib\importlib__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "F:\krist\AppData\pinokio\api\comfy.git\app\custom_nodes\comfyui-3d-pack\nodes.py", line 39, in from .mesh_processer.mesh import Mesh File "F:\krist\AppData\pinokio\api\comfy.git\app\custom_nodes\comfyui-3d-pack\mesh_processer\mesh.py", line 8, in from kiui.op import safe_normalize, dot ModuleNotFoundError: No module named 'kiui'

I have a similar issue to you it seems :

Traceback (most recent call last):
  File "/home/zeroshin/ComfyUI/nodes.py", line 2110, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/home/zeroshin/ComfyUI/custom_nodes/comfyui-3d-pack/__init__.py", line 53, in <module>
    module = importlib.import_module(f".{nodes_filename}", package=__name__)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/home/zeroshin/ComfyUI/custom_nodes/comfyui-3d-pack/nodes.py", line 39, in <module>
    from .mesh_processer.mesh import Mesh
  File "/home/zeroshin/ComfyUI/custom_nodes/comfyui-3d-pack/mesh_processer/mesh.py", line 8, in <module>
    from kiui.op import safe_normalize, dot
ModuleNotFoundError: No module named 'kiui'

Cannot import /home/zeroshin/ComfyUI/custom_nodes/comfyui-3d-pack module for custom nodes: No module named 'kiui'

Z3r0shin avatar Jan 31 '25 19:01 Z3r0shin

ComfyUI version: 0.3.13 [Prompt Server] web root: G:\ComfyUI\web Traceback (most recent call last): File "G:\ComfyUI\nodes.py", line 2110, in load_custom_node module_spec.loader.exec_module(module) File "", line 994, in exec_module File "", line 488, in call_with_frames_removed File "G:\ComfyUI\custom_nodes\comfyui-3d-pack_init.py", line 53, in module = importlib.import_module(f".{nodes_filename}", package=name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\importlib_init_.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1381, in _gcd_import File "", line 1354, in _find_and_load File "", line 1325, in _find_and_load_unlocked File "", line 929, in _load_unlocked File "", line 994, in exec_module File "", line 488, in _call_with_frames_removed File "G:\ComfyUI\custom_nodes\comfyui-3d-pack\nodes.py", line 52, in from FlexiCubes.flexicubes_trainer import FlexiCubesTrainer File "G:\ComfyUI\custom_nodes\ComfyUI-3D-Pack\MVs_Algorithms\FlexiCubes\flexicubes_trainer.py", line 10, in from .flexicubes_renderer import FlexiCubesRenderer File "G:\ComfyUI\custom_nodes\ComfyUI-3D-Pack\MVs_Algorithms\FlexiCubes\flexicubes_renderer.py", line 5, in import nvdiffrast.torch as dr ModuleNotFoundError: No module named 'nvdiffrast'

Primo37 avatar Jan 31 '25 22:01 Primo37

In ComfyUI-Manager V3.x. Some breaking change on subdirectory: https://github.com/ltdrdata/ComfyUI-Manager?tab=readme-ov-file#custom-node-support-guide

This plugin will be installed in ComfyUI/custom_nodes/comfyui-3d-pack

comfyui-1  | ComfyUI version: 0.3.14
comfyui-1  | [Prompt Server] web root: /home/comfy/ComfyUI/web
comfyui-1  | ### Loading: ComfyUI-Manager (V3.17.7)
comfyui-1  | ### ComfyUI Revision: 3109 [debabccb] *DETACHED | Released on '2025-02-05'
comfyui-1  | Traceback (most recent call last):
comfyui-1  |   File "/home/comfy/ComfyUI/nodes.py", line 2112, in load_custom_node
comfyui-1  |     module_spec.loader.exec_module(module)
comfyui-1  |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
comfyui-1  |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
comfyui-1  |   File "/home/comfy/ComfyUI/custom_nodes/comfyui-3d-pack/__init__.py", line 36, in <module>
comfyui-1  |     f = open(conf_path)
comfyui-1  |         ^^^^^^^^^^^^^^^
comfyui-1  | FileNotFoundError: [Errno 2] No such file or directory: '/home/comfy/ComfyUI/custom_nodes/ComfyUI-3D-Pack/Configs/system.conf'
comfyui-1  | 
comfyui-1  | Cannot import /home/comfy/ComfyUI/custom_nodes/comfyui-3d-pack module for custom nodes: [Errno 2] No such file or directory: '/home/comfy/ComfyUI/custom_nodes/ComfyUI-3D-Pack/Configs/system.conf'
comfyui-1  | 
comfyui-1  | Import times for custom nodes:
comfyui-1  |    0.0 seconds: /home/comfy/ComfyUI/custom_nodes/websocket_image_save.py
comfyui-1  |    0.0 seconds (IMPORT FAILED): /home/comfy/ComfyUI/custom_nodes/comfyui-3d-pack
comfyui-1  |    0.1 seconds: /home/comfy/ComfyUI/custom_nodes/ComfyUI-Manager
comfyui-1  | 
comfyui-1  | Starting server

sko00o avatar Feb 17 '25 02:02 sko00o

Traceback (most recent call last): File "K:\Programs\ComfyUI\nodes.py", line 2141, in load_custom_node module_spec.loader.exec_module(module) File "", line 995, in exec_module File "", line 488, in call_with_frames_removed File "K:\Programs\ComfyUI\custom_nodes\comfyui-3d-pack_init.py", line 28, in module = importlib.import_module(f".{nodes_filename}", package=name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\Programs\pyenv\pyenv-win\versions\3.12.5\Lib\importlib_init_.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 995, in exec_module File "", line 488, in call_with_frames_removed File "K:\Programs\ComfyUI\custom_nodes\comfyui-3d-pack\nodes.py", line 33, in from .algorithms.main_3DGS import GaussianSplatting, GaussianSplattingCameraController, GSParams File "K:\Programs\ComfyUI\custom_nodes\comfyui-3d-pack\algorithms\main_3DGS.py", line 12, in from .main_3DGS_renderer import GaussianSplattingRenderer File "K:\Programs\ComfyUI\custom_nodes\comfyui-3d-pack\algorithms\main_3DGS_renderer.py", line 24, in from diff_gaussian_rasterization import ( File "K:\Programs\pyenv\pyenv-win\versions\3.12.5\Lib\site-packages\diff_gaussian_rasterization_init.py", line 15, in from . import _C ImportError: DLL load failed while importing _C: The specified procedure could not be found.

Cannot import K:\Programs\ComfyUI\custom_nodes\comfyui-3d-pack module for custom nodes: DLL load failed while importing _C: The specified procedure could not be found.

renwerx avatar Mar 22 '25 23:03 renwerx

Install is broken on Ubuntu 24.04. There is no option to install a specific CUDA version from OS repos, and nVidia only supports 12.8 in their repo.

  • nvidia-smi reports CUDA version 12.4
  • nvcc --version reports 12.0
  • dpkg -l | grep cuda lists 12.0 variants for all packages

Under the assumption that the toolkit is actually 12.0, I changed build_utils.py so that get_cuda_version() returns "cu121". This allowed a manual install to complete: [Comfy3D] Successfully installed Comfy3D! Let's Accelerate!

After implementing the patch in #452

/home/mycohl/dev/ai-image/ComfyUI-3D/.venv/lib/python3.12/site-packages/kiui/nn/__init__.py:31: FutureWarning: `torch.cuda.amp.custom_fwd(args...)` is deprecated. Please use `torch.amp.custom_fwd(args..., device_type='cuda')` instead.
  @torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)

/home/mycohl/dev/ai-image/ComfyUI-3D/.venv/lib/python3.12/site-packages/kiui/nn/__init__.py:37: FutureWarning: `torch.cuda.amp.custom_bwd(args...)` is deprecated. Please use `torch.amp.custom_bwd(args..., device_type='cuda')` instead.
  @torch.cuda.amp.custom_bwd

Warn!: xFormers is available (Attention)
Warn!: /home/mycohl/dev/ai-image/ComfyUI-3D/.venv/lib/python3.12/site-packages/torch/utils/cpp_extension.py:1964: UserWarning: TORCH_CUDA_ARCH_LIST is not set, all archs for visible cards are included for compilation. 
If this is not desired, please set os.environ['TORCH_CUDA_ARCH_LIST'].
  warnings.warn(

Warn!: /home/mycohl/dev/ai-image/ComfyUI-3D/custom_nodes/comfyui-3d-pack/Gen_3D_Modules/Unique3D/mesh_reconstruction/remesh.py:79: SyntaxWarning: invalid escape sequence '\ '
  """

Warn!: /home/mycohl/dev/ai-image/ComfyUI-3D/.venv/lib/python3.12/site-packages/pytorch3d/vis/__init__.py:16: UserWarning: Cannot import plotly-based visualization code. Please install plotly to enable (pip install plotly).
  warnings.warn(

Not sure how much control you have over those dependencies, but the "install plotly" is easily fixable in your build script.

The error about TORCH_CUDA_ARCH_LIST not being set is annoying, because it IS set, but ignored for some reason. I had to comment out that warning.

========================================================================================

Install is also broken on Windows with CUDA 11.8, because you are forcing an update to torch 2.5.1, but you don't have wheels built for torch2.5.1+cu118. Building it manually also failed.

Manually installing torch2.4.0 and the cu118 wheels from the other repo, it then complains about torch-scatter. Installing/building that requires pip install wheel and then pip install --no-build-isolation torch-scatter. After that, the same errors as Linux (kiui deprecation, TORCH_CUDA_ARCH_LIST, and missing plotly).

Mycohl avatar Mar 27 '25 19:03 Mycohl

About cstr being missing, I believe it is because it is imported within the try block:

https://github.com/MrForExample/ComfyUI-3D-Pack/blob/main/install.py#L18-L28

Later below in the except block, it attempts to use cstr when its out of scope:

https://github.com/MrForExample/ComfyUI-3D-Pack/blob/main/install.py#L82-L84

Maybe it should try and import cstr again then, or just use print.

Interpause avatar Jun 04 '25 11:06 Interpause

EDIT: installation worked after installing diso with --no-build-isolation and changing the line in requirements.txt to use diso instead of the git link to the diso repository

On a fresh ComfyUI Standalone Installation with Windows 11, RTX 5080 (choosing nightly in the Comfy Manager Installation process):


[2025-07-04 14:46:13.359] [info]  
## ComfyUI-Manager: EXECUTE => ['C:\\Users\\AGSG-Gruppe\\Documents\\ComfyUI\\.venv\\Scripts\\python.exe', '-m', 'pip', 'install', 'git+https://github.com/SarahWeiii/diso.git#egg=diso']

## Execute management script for 'C:\Users\AGSG-Gruppe\Documents\ComfyUI\custom_nodes\ComfyUI-3D-Pack'

[2025-07-04 14:46:13.977] [info]   Collecting diso

[2025-07-04 14:46:13.978] [info]     Cloning https://github.com/SarahWeiii/diso.git to c:\users\agsg-gruppe\appdata\local\temp\pip-install-6_dyye38\diso_26c3d3e84098440da4e520f401dcd098

[2025-07-04 14:46:13.994] [error] [!]
[2025-07-04 14:46:13.994] [error]    Running command git clone --filter=blob:none --quiet https://github.com/SarahWeiii/diso.git 'C:\Users\AGSG-Gruppe\AppData\Local\Temp\pip-install-6_dyye38\diso_26c3d3e84098440da4e520f401dcd098'

[2025-07-04 14:46:14.788] [info]     Resolved https://github.com/SarahWeiii/diso.git to commit 9792ad928ccb09bdec938779651ee03e395758a6

[2025-07-04 14:46:14.804] [info]     Installing build dependencies: started

[2025-07-04 14:46:17.436] [info]     Installing build dependencies: finished with status 'done'

[2025-07-04 14:46:17.437] [info]     Getting requirements to build wheel: started

[2025-07-04 14:46:17.585] [info]     Getting requirements to build wheel: finished with status 'error'

[2025-07-04 14:46:17.588] [error] [!]
[2025-07-04 14:46:17.588] [error]    error: subprocess-exited-with-error
[!]   
[!] 
[2025-07-04 14:46:17.589] [error]   × Getting requirements to build wheel did not run successfully.
[!]   │ exit code: 1
[!] 
[2025-07-04 14:46:17.589] [error]   ╰─> [20 lines of output]
[!]       Traceback (most recent call last):
[!]         File "C:\Users\AGSG-Gruppe\Documents\ComfyUI\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
[!]           main()

[2025-07-04 14:46:17.590] [error] [!]         File "C:\Users\AGSG-Gruppe\Documents\ComfyUI\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
[!]           json_out['return_val'] = hook(**hook_input['kwargs'])
[!] 
[2025-07-04 14:46:17.590] [error]                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[!]         File "C:\Users\AGSG-Gruppe\Documents\ComfyUI\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
[!]           return hook(config_settings)

[2025-07-04 14:46:17.591] [error] [!]                  ^^^^^^^^^^^^^^^^^^^^^
[!]         File "C:\Users\AGSG-Gruppe\AppData\Local\Temp\pip-build-env-m2ry_8z_\overlay\Lib\site-packages\setuptools\build_meta.py", line 331, in get_requires_for_build_wheel

[2025-07-04 14:46:17.591] [error] [!]           return self._get_build_requires(config_settings, requirements=[])
[!]                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[!]         File "C:\Users\AGSG-Gruppe\AppData\Local\Temp\pip-build-env-m2ry_8z_\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires
[!]
[2025-07-04 14:46:17.592] [error]            self.run_setup()
[!]         File "C:\Users\AGSG-Gruppe\AppData\Local\Temp\pip-build-env-m2ry_8z_\overlay\Lib\site-packages\setuptools\build_meta.py", line 512, in run_setup
[!] 
[2025-07-04 14:46:17.592] [error]           super().run_setup(setup_script=setup_script)
[!]         File "C:\Users\AGSG-Gruppe\AppData\Local\Temp\pip-build-env-m2ry_8z_\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup
[!]           exec(code, locals())

[2025-07-04 14:46:17.593] [error] [!]         File "<string>", line 4, in <module>
[!]       ModuleNotFoundError: No module named 'torch'
[!]
[2025-07-04 14:46:17.593] [error]        [end of output]
[!]   
[!] 
[2025-07-04 14:46:17.594] [error]   note: This error originates from a subprocess, and is likely not a problem with pip.

[2025-07-04 14:46:17.746] [error] [!] 
[2025-07-04 14:46:17.747] [error] 
[!] [notice] A new release of pip is available: 24.3.1 -> 25.1.1
[!] [notice] To update, run: python.exe -m pip install --upgrade pip

[2025-07-04 14:46:17.748] [error] [!] error: subprocess-exited-with-error
[!] 
[!] 
[2025-07-04 14:46:17.748] [error] × Getting requirements to build wheel did not run successfully.
[!] │ exit code: 1
[!] ╰─> See above for output.
[!]
[2025-07-04 14:46:17.749] [error]  
[!] note: This error originates from a subprocess, and is likely not a problem with pip.


[2025-07-04 14:46:43.554] [info]  
## ComfyUI-Manager: EXECUTE => ['C:\\Users\\AGSG-Gruppe\\Documents\\ComfyUI\\.venv\\Scripts\\python.exe', 'install.py']

[2025-07-04 14:46:43.554] [info]  
## Execute management script for 'C:\Users\AGSG-Gruppe\Documents\ComfyUI\custom_nodes\ComfyUI-3D-Pack'

[2025-07-04 14:46:45.804] [info]   Looking in indexes: https://download.pytorch.org/whl/cu124

[2025-07-04 14:46:46.150] [error] [!]
[2025-07-04 14:46:46.150] [error]  ERROR: Could not find a version that satisfies the requirement xformers==0.0.30 (from versions: 0.0.28.post1, 0.0.28.post2, 0.0.28.post3, 0.0.29, 0.0.29.post1, 0.0.29.post2, 0.0.29.post3)

[2025-07-04 14:46:46.309] [error] [!]
[2025-07-04 14:46:46.310] [error]  
[!] [notice] A new release of pip is available: 24.3.1 -> 25.1.1
[!] [notice] To update, run: python.exe -m pip install --upgrade pip
[!] ERROR: No matching distribution found for xformers==0.0.30

output of pip list in the venv (after trying the installation via the package manager):

Package                     Version
--------------------------- -------------
accelerate                  1.8.1
aiohappyeyeballs            2.6.1
aiohttp                     3.12.13
aiosignal                   1.4.0
alembic                     1.16.2
annotated-types             0.7.0
antlr4-python3-runtime      4.9.3
attrs                       25.3.0
av                          15.0.0
ccimport                    0.4.4
certifi                     2025.6.15
cffi                        1.17.1
chardet                     5.2.0
charset-normalizer          3.4.2
click                       8.2.1
cmake                       4.0.3
colorama                    0.4.6
coloredlogs                 15.0.1
comfyui-embedded-docs       0.2.3
comfyui_frontend_package    1.23.4
comfyui_workflow_templates  0.1.30
contourpy                   1.3.2
cryptography                45.0.5
cumm                        0.7.11
cumm-cu124                  0.7.11
custom_rasterizer           0.1
cycler                      0.12.1
dataclasses-json            0.6.7
Deprecated                  1.2.18
diff_gaussian_rasterization 0.0.0
diffusers                   0.34.0
easydict                    1.13
einops                      0.8.1
filelock                    3.13.1
fire                        0.7.0
flatbuffers                 25.2.10
fonttools                   4.58.5
frozenlist                  1.7.0
fsspec                      2024.6.1
ftfy                        6.3.1
gitdb                       4.0.12
GitPython                   3.1.44
glcontext                   3.0.0
GPUtil                      1.4.0
gpytoolbox                  0.3.6
greenlet                    3.2.3
hatchling                   1.27.0
huggingface-hub             0.33.2
humanfriendly               10.0
idna                        3.10
igraph                      0.11.9
imageio                     2.37.0
imageio-ffmpeg              0.6.0
importlib_metadata          8.7.0
iopath                      0.1.10
jaxtyping                   0.3.2
Jinja2                      3.1.4
jsonschema                  4.24.0
jsonschema-specifications   2025.4.1
kiui                        0.2.14
kiwisolver                  1.4.8
kornia                      0.8.1
kornia_rs                   0.1.9
lark                        1.2.2
lazy_loader                 0.4
libigl                      2.6.1
lightning-utilities         0.14.3
llvmlite                    0.44.0
loguru                      0.7.3
Mako                        1.3.10
markdown-it-py              3.0.0
MarkupSafe                  2.1.5
marshmallow                 3.26.1
matplotlib                  3.10.3
matrix-client               0.4.0
mdurl                       0.1.2
moderngl                    5.12.0
mpmath                      1.3.0
multidict                   6.6.3
mypy_extensions             1.1.0
nerfacc                     0.5.3
networkx                    3.3
ninja                       1.11.1.4
numba                       0.61.2
numpy                       1.26.4
nvdiffrast                  0.3.3
objaverse                   0.1.7
omegaconf                   2.3.0
onnxruntime                 1.22.0
open_clip_torch             2.32.0
opencv-python               4.11.0.86
opencv-python-headless      4.11.0.86
packaging                   25.0
pandas                      2.3.0
pathspec                    0.12.1
pccm                        0.4.16
peft                        0.16.0
pillow                      11.0.0
pip                         25.1.1
platformdirs                4.3.8
pluggy                      1.6.0
plyfile                     1.1.2
pointnet2_ops               3.0.0
pooch                       1.8.2
portalocker                 3.2.0
propcache                   0.3.2
protobuf                    6.31.1
psutil                      7.0.0
pyarrow                     20.0.0
pybind11                    2.13.6
pycparser                   2.22
pydantic                    2.11.7
pydantic_core               2.33.2
pydantic-settings           2.10.1
PyGithub                    2.6.1
pygltflib                   1.16.4
Pygments                    2.19.2
pyhocon                     0.3.61
PyJWT                       2.10.1
PyMatting                   1.1.14
PyMCubes                    0.1.6
pymeshfix                   0.17.1
pymeshlab                   2023.12.post3
PyNaCl                      1.5.0
pyparsing                   3.2.3
pyreadline3                 3.5.4
python-dateutil             2.9.0.post0
python-dotenv               1.1.1
pytorch-lightning           2.5.2
pytorch-msssim              1.0.0
pytorch3d                   0.7.8
pytz                        2025.2
pyvista                     0.45.2
pywin32                     310
PyYAML                      6.0.2
referencing                 0.36.2
regex                       2024.11.6
rembg                       2.0.66
requests                    2.32.4
rich                        14.0.0
rpds-py                     0.26.0
safetensors                 0.5.3
sageattention               1.0.6
scikit-image                0.25.2
scipy                       1.15.0
scooby                      0.10.1
scs                         3.2.7.post2
sentencepiece               0.2.0
setuptools                  70.2.0
shellingham                 1.5.4
simple_knn                  0.0.0
six                         1.17.0
slangtorch                  1.3.11
smmap                       5.0.2
soundfile                   0.13.1
spandrel                    0.4.1
spconv                      2.3.8
spconv-cu124                2.3.8
SQLAlchemy                  2.0.41
sympy                       1.13.3
termcolor                   3.1.0
texttable                   1.7.0
tifffile                    2025.6.11
timm                        1.0.16
tokenizers                  0.21.2
toml                        0.10.2
torch                       2.7.0+cu128
torch_scatter               2.1.2
torchaudio                  2.7.0+cu128
torchmetrics                1.7.3
torchsde                    0.2.6
torchtyping                 0.1.5
torchvision                 0.22.0+cu128
tqdm                        4.67.1
trampoline                  0.1.2
transformers                4.53.1
trimesh                     4.6.13
triton                      3.0.0
trove-classifiers           2025.5.9.12
typeguard                   2.13.3
typer                       0.16.0
typing_extensions           4.14.0
typing-inspect              0.9.0
typing-inspection           0.4.1
tzdata                      2025.2
urllib3                     1.26.20
utils3d                     0.0.2
uv                          0.7.13
vox2seq                     0.0.0
vtk                         9.4.2
wadler_lindig               0.1.7
wcwidth                     0.2.13
win32_setctime              1.2.0
wrapt                       1.17.2
xatlas                      0.0.10
xformers                    0.0.28.post3
yarl                        1.20.1
zipp                        3.23.0

aurror avatar Jul 04 '25 13:07 aurror

Building wheels for collected packages: diso, antlr4-python3-runtime, iopath
  DEPRECATION: Building 'diso' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'diso'. Discussion can be found at https://github.com/pypa/pip/issues/6334
  Building wheel for diso (setup.py) ... done
  Created wheel for diso: filename=diso-0.1.4-cp310-cp310-linux_x86_64.whl size=3504227 sha256=313de7454e2a415b75e73a2287e5c31f94506c904a0aa0f1cdd89ea497768964
  Stored in directory: /tmp/pip-ephem-wheel-cache-3dyfr59q/wheels/e9/4b/3f/faf77af95160687560548e2a97927ae2ded371a6267c4015fd
  DEPRECATION: Building 'antlr4-python3-runtime' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'antlr4-python3-runtime'. Discussion can be found at https://github.com/pypa/pip/issues/6334
  Building wheel for antlr4-python3-runtime (setup.py) ... done
  Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144554 sha256=122bcb85107cd1a09843663b57a7f5f6ab8dfba656015581fe67c4f26aca58ec
  Stored in directory: /runpod-volume/.cache/pip/wheels/12/93/dd/1f6a127edc45659556564c5730f6d4e300888f4bca2d4c5a88
  DEPRECATION: Building 'iopath' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'iopath'. Discussion can be found at https://github.com/pypa/pip/issues/6334
  Building wheel for iopath (setup.py) ... done
  Created wheel for iopath: filename=iopath-0.1.10-py3-none-any.whl size=31531 sha256=f95546de3ffe7ab7395ba2e69067dcda1394599d3381f3d5bd90efd60b70f270
  Stored in directory: /runpod-volume/.cache/pip/wheels/9a/a3/b6/ac0fcd1b4ed5cfeb3db92e6a0e476cfd48ed0df92b91080c1d
Successfully built diso antlr4-python3-runtime iopath
Installing collected packages: pytz, pure-eval, ptyprocess, fastjsonschema, easydict, antlr4-python3-runtime, addict, widgetsnbextension, werkzeug, wadler-lindig, tzdata, typeguard, traitlets, threadpoolctl, retrying, pyquaternion, pyhocon, prompt_toolkit, pexpect, parso, OmegaConf, nest-asyncio, narwhals, jupyterlab_widgets, joblib, itsdangerous, iopath, exceptiongroup, decorator, configargparse, comm, blinker, asttokens, stack_data, scikit-learn, plotly, pandas, matplotlib-inline, jupyter-core, jedi, jaxtyping, flask, diso, ipython, dash, torchtyping, nbformat, ipywidgets, open3d
  Attempting uninstall: blinker
    Found existing installation: blinker 1.4
   ━━━━━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━ 25/49 [itsdangerous]error: uninstall-distutils-installed-package

× Cannot uninstall blinker 1.4
╰─> It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall

CUDA Version: 12.7 python 3.10.12 (main, Nov 6 2024, 20:22:13) [GCC 11.4.0] pytorch veresion: 2.7.1+cu126

jk2K avatar Jul 31 '25 05:07 jk2K

Hi I tried to install the 3D Pack on a freshly create conda enviroment under linux ubuntu 24.04. I had installed cuda12.9 Initially i had this problem [!] hint: This error likely indicates that git depends on torch, but doesn't declare it as a build dependency. If git is a first-party package, consider adding torch to its build-system.requires. Otherwise, either add it to your pyproject.toml under: [!] [!] [tool.uv.extra-build-dependencies] [!] git = ["torch"] [!] [!] or uv pip install torch into the environment and re-run with --no-build-isolation. install script failed: ComfyUI-3D-Pack

I followed the suggestion and solved by running the command: pip install git+https://github.com/SarahWeiii/diso.git --no-build-isolation

After that the installation with ComfyUI Manager was able to progress but it downgraded several packages from pytorch2.8 to 2.7 (I do not have a problem with that). However this crashed comfyui, i have several error about missing packages or incompatible ones..... So what i did wrong? Can i somehow do a "manual install" to avoid downgrading/having conflicting packages? What could i do?

No1Idle avatar Sep 17 '25 11:09 No1Idle

Same as @No1Idle here. Fresh install, ubuntu 24 on proxmox. Latest cuda drivers.

## ComfyUI-Manager: EXECUTE => ['/opt/ComfyUI/.venv/bin/python', '-m', 'uv', 
'pip', 'install', 'git+https://github.com/SarahWeiii/diso.git']
[!] Using Python 3.12.3 environment at: /opt/ComfyUI/.venv
FETCH ComfyRegistry Data: 35/97
[!] error: The build backend returned an error
[!]   Caused by: Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)
[!] 
[!] [stderr]
[!] Traceback (most recent call last):
[!]   File "<string>", line 14, in <module>
[!]   File "/home/skaos/.cache/uv/builds-v0/.tmpYLGr2Y/lib/python3.12/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
[!]     return self._get_build_requires(config_settings, requirements=[])
[!]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[!]   File "/home/skaos/.cache/uv/builds-v0/.tmpYLGr2Y/lib/python3.12/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
[!]     self.run_setup()
[!]   File "/home/skaos/.cache/uv/builds-v0/.tmpYLGr2Y/lib/python3.12/site-packages/setuptools/build_meta.py", line 512, in run_setup
[!]     super().run_setup(setup_script=setup_script)
[!]   File "/home/skaos/.cache/uv/builds-v0/.tmpYLGr2Y/lib/python3.12/site-packages/setuptools/build_meta.py", line 317, in run_setup
[!]     exec(code, locals())
[!]   File "<string>", line 4, in <module>
[!] ModuleNotFoundError: No module named 'torch'
[!] 
[!] hint: This error likely indicates that `git` depends on `torch`, but doesn't declare it as a build dependency. If `git` is a first-party package, consider adding `torch` to its `build-system.requires`. Otherwise, either add it to your `pyproject.toml` under:
[!] 
[!] [tool.uv.extra-build-dependencies]
[!] git = ["torch"]
[!] 
[!] or `uv pip install torch` into the environment and re-run with `--no-build-isolation`.
install script failed: ComfyUI-3D-Pack
Install: install script

skarnage avatar Sep 17 '25 20:09 skarnage

Hi I tried to install the 3D Pack on a freshly create conda enviroment under linux ubuntu 24.04. I had installed cuda12.9 Initially i had this problem [!] hint: This error likely indicates that git depends on torch, but doesn't declare it as a build dependency. If git is a first-party package, consider adding torch to its build-system.requires. Otherwise, either add it to your pyproject.toml under: [!] [!] [tool.uv.extra-build-dependencies] [!] git = ["torch"] [!] [!] or uv pip install torch into the environment and re-run with --no-build-isolation. install script failed: ComfyUI-3D-Pack

I followed the suggestion and solved by running the command: pip install git+https://github.com/SarahWeiii/diso.git --no-build-isolation

After that the installation with ComfyUI Manager was able to progress but it downgraded several packages from pytorch2.8 to 2.7 (I do not have a problem with that). However this crashed comfyui, i have several error about missing packages or incompatible ones..... So what i did wrong? Can i somehow do a "manual install" to avoid downgrading/having conflicting packages? What could i do?

Hey, of course you can create another env and use 3D-Pack in a separate one. But for now, could you please share your error log — what exactly broke in ComfyUI?

DenisKochetov avatar Sep 18 '25 06:09 DenisKochetov

Same as @No1Idle here. Fresh install, ubuntu 24 on proxmox. Latest cuda drivers.

## ComfyUI-Manager: EXECUTE => ['/opt/ComfyUI/.venv/bin/python', '-m', 'uv', 
'pip', 'install', 'git+https://github.com/SarahWeiii/diso.git']
[!] Using Python 3.12.3 environment at: /opt/ComfyUI/.venv
FETCH ComfyRegistry Data: 35/97
[!] error: The build backend returned an error
[!]   Caused by: Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)
[!] 
[!] [stderr]
[!] Traceback (most recent call last):
[!]   File "<string>", line 14, in <module>
[!]   File "/home/skaos/.cache/uv/builds-v0/.tmpYLGr2Y/lib/python3.12/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
[!]     return self._get_build_requires(config_settings, requirements=[])
[!]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[!]   File "/home/skaos/.cache/uv/builds-v0/.tmpYLGr2Y/lib/python3.12/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
[!]     self.run_setup()
[!]   File "/home/skaos/.cache/uv/builds-v0/.tmpYLGr2Y/lib/python3.12/site-packages/setuptools/build_meta.py", line 512, in run_setup
[!]     super().run_setup(setup_script=setup_script)
[!]   File "/home/skaos/.cache/uv/builds-v0/.tmpYLGr2Y/lib/python3.12/site-packages/setuptools/build_meta.py", line 317, in run_setup
[!]     exec(code, locals())
[!]   File "<string>", line 4, in <module>
[!] ModuleNotFoundError: No module named 'torch'
[!] 
[!] hint: This error likely indicates that `git` depends on `torch`, but doesn't declare it as a build dependency. If `git` is a first-party package, consider adding `torch` to its `build-system.requires`. Otherwise, either add it to your `pyproject.toml` under:
[!] 
[!] [tool.uv.extra-build-dependencies]
[!] git = ["torch"]
[!] 
[!] or `uv pip install torch` into the environment and re-run with `--no-build-isolation`.
install script failed: ComfyUI-3D-Pack
Install: install script

hey, did you install the requirements from ComfyUI first, then from 3D-Pack, and finally run python install.py? because if you do it manually, first: cd into the ComfyUI main folder and run: pip install -r requirements.txt then cd into the 3D-Pack folder and run: pip install -r requirements.txt and finally: python install.py

DenisKochetov avatar Sep 18 '25 06:09 DenisKochetov

Hey, of course you can create another env and use 3D-Pack in a separate one. But for now, could you please share your error log — what exactly broke in ComfyUI?

@DenisKochetov Sorry i deleted that installation because i was not able to make it work. Few things that i remember for sure are:

  1. After dowgrading from pytorch2.8 to 2.7 i got an error message that torchaudio was incompatible with torch and torchvision (probably torchaudio was not downgraded) .
  2. I got this warning/error that before was not present:
"NumbaWarning: The TBB threading layer requires TBB version 2021 update 6 or later i.e., TBB_INTERFACE_VERSION >= 12060. Found TBB_INTERFACE_VERSION = 12050. The TBB threading layer is disabled.
  warnings.warn(problem)

(i just discovered that this was due to PyMeshLab if you are interested)

  1. the compilation of the modules/files associated to nvdiffrast failed. I mean the files/routines that are compiled the first time you run comfyui after installation.

Now if you thing it is useful, starting from scratch (i think) I have succeeded in installing the 3D pack "manually". I manually installed the packages required looking in your installation script but it has been a lot of "try and error" and to be fair i do not know if the problem where "only me" or more general. so i will share what i did only if you thing it is remotely useful.

I said i think i succeeded because i tested with the workflow example for Hunyuan V2 and it worked, the mesh was generated but the preview node was completely gray. maybe is an installation problem maybe is something that i have to discuss in another post?

No1Idle avatar Sep 18 '25 09:09 No1Idle

Hey, of course you can create another env and use 3D-Pack in a separate one. But for now, could you please share your error log — what exactly broke in ComfyUI?

@DenisKochetov Sorry i deleted that installation because i was not able to make it work. Few things that i remember for sure are:

  1. After dowgrading from pytorch2.8 to 2.7 i got an error message that torchaudio was incompatible with torch and torchvision (probably torchaudio was not downgraded) .
  2. I got this warning/error that before was not present:
"NumbaWarning: The TBB threading layer requires TBB version 2021 update 6 or later i.e., TBB_INTERFACE_VERSION >= 12060. Found TBB_INTERFACE_VERSION = 12050. The TBB threading layer is disabled.
  warnings.warn(problem)

(i just discovered that this was due to PyMeshLab if you are interested)

  1. the compilation of the modules/files associated to nvdiffrast failed. I mean the files/routines that are compiled the first time you run comfyui after installation.

Now if you thing it is useful, starting from scratch (i think) I have succeeded in installing the 3D pack "manually". I manually installed the packages required looking in your installation script but it has been a lot of "try and error" and to be fair i do not know if the problem where "only me" or more general. so i will share what i did only if you thing it is remotely useful.

I said i think i succeeded because i tested with the workflow example for Hunyuan V2 and it worked, the mesh was generated but the preview node was completely gray. maybe is an installation problem maybe is something that i have to discuss in another post?

Glad you got it working! Please open a new issue for the preview node and include a screenshot. For now, try running it a few times and reloading Comfy. Also let me know if you’re on a server (RunPod or something else) or running locally.

DenisKochetov avatar Sep 18 '25 10:09 DenisKochetov

Same as @No1Idle here. Fresh install, ubuntu 24 on proxmox. Latest cuda drivers.

## ComfyUI-Manager: EXECUTE => ['/opt/ComfyUI/.venv/bin/python', '-m', 'uv', 
'pip', 'install', 'git+https://github.com/SarahWeiii/diso.git']
[!] Using Python 3.12.3 environment at: /opt/ComfyUI/.venv
FETCH ComfyRegistry Data: 35/97
[!] error: The build backend returned an error
[!]   Caused by: Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)
[!] 
[!] [stderr]
[!] Traceback (most recent call last):
[!]   File "<string>", line 14, in <module>
[!]   File "/home/skaos/.cache/uv/builds-v0/.tmpYLGr2Y/lib/python3.12/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
[!]     return self._get_build_requires(config_settings, requirements=[])
[!]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[!]   File "/home/skaos/.cache/uv/builds-v0/.tmpYLGr2Y/lib/python3.12/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
[!]     self.run_setup()
[!]   File "/home/skaos/.cache/uv/builds-v0/.tmpYLGr2Y/lib/python3.12/site-packages/setuptools/build_meta.py", line 512, in run_setup
[!]     super().run_setup(setup_script=setup_script)
[!]   File "/home/skaos/.cache/uv/builds-v0/.tmpYLGr2Y/lib/python3.12/site-packages/setuptools/build_meta.py", line 317, in run_setup
[!]     exec(code, locals())
[!]   File "<string>", line 4, in <module>
[!] ModuleNotFoundError: No module named 'torch'
[!] 
[!] hint: This error likely indicates that `git` depends on `torch`, but doesn't declare it as a build dependency. If `git` is a first-party package, consider adding `torch` to its `build-system.requires`. Otherwise, either add it to your `pyproject.toml` under:
[!] 
[!] [tool.uv.extra-build-dependencies]
[!] git = ["torch"]
[!] 
[!] or `uv pip install torch` into the environment and re-run with `--no-build-isolation`.
install script failed: ComfyUI-3D-Pack
Install: install script

hey, did you install the requirements from ComfyUI first, then from 3D-Pack, and finally run python install.py? because if you do it manually, first: cd into the ComfyUI main folder and run: pip install -r requirements.txt then cd into the 3D-Pack folder and run: pip install -r requirements.txt and finally: python install.py

When i install it manually it 'seems' to works. BUT when i open ComfyUI, i get a missing nodes error. I try to fix the install in the manager but it give me the same error as before.

skarnage avatar Sep 18 '25 13:09 skarnage