Open tiandaoyuxi opened 8 months ago
Have you solved it? I have this problem too?
i have this aswell
Hi, may I ask you which method did you use to install this tool? (Embed env with pre-build wheels or Miniconda), Also where and how did you download this package? Because it should be ComfyUI-3D-Pack__init__.py instead of ComfyUI-3D-Pack_init.py
same here. embed env with wheels. I have correct init.py filename but the same exact error:
Traceback (most recent call last):
File "S:\Stable Diffusion\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1889, in load_custom_node
module_spec.loader.exec_module(module)
File "
okay turns out I'm a dumbasss and did not have VS build tools. downloaded those, re-installed the addon and it works. hope maybe that helps someone else as well.
Hi crowtalons, which Visual Studio tool did you install that made the difference? I have the same error message and checked my VS and couldn't find any build that was missing...
@Scharwunzel it was the one mentioned on this project's page: https://visualstudio.microsoft.com/downloads/?q=build+tools I downloaded the community version (as mentioned, installed with Workloads: Desktop development with C++), I don't recall the exact settings I selected when installing, but if I figured it out, you should be fine 😁
@crowtalons, thank you very much for the quick answer. I already had VS on my computer before Stable Diffusion or comfyui, and C++ was already installed. I also updated everything and looked through the individual builds. So that can't be the cause of the error for me. I'll open a new thread about this, I don't know what else to do. Kind regards
Have you solved it? I have this problem too。
me too.
Traceback (most recent call last): File "D:\ComfyUI_NEW\ComfyUI\nodes.py", line 1887, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\ComfyUI_NEW\ComfyUI\custom_nodes\ComfyUI-3D-Pack__init.py", line 18, in
module = importlib.import_module(f".{nodes_filename}", package= name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib\init.py", line 126, in import_module
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\ComfyUI_NEW\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 28, in
from .algorithms.main_3DGS import GaussianSplatting, GaussianSplattingCameraController, GSParams
File "D:\ComfyUI_NEW\ComfyUI\custom_nodes\ComfyUI-3D-Pack\algorithms\main_3DGS.py", line 12, in
from .main_3DGS_renderer import GaussianSplattingRenderer
File "D:\ComfyUI_NEW\ComfyUI\custom_nodes\ComfyUI-3D-Pack\algorithms\main_3DGS_renderer.py", line 24, in
from diff_gaussian_rasterization import (
File "D:\ComfyUI_NEW\python_embeded\Lib\site-packages\diff_gaussian_rasterization\ init__.py", line 15, in
from . import _C
ImportError: DLL load failed while importing _C: 找不到指定的模块。
Cannot import D:\ComfyUI_NEW\ComfyUI\custom_nodes\ComfyUI-3D-Pack module for custom nodes: DLL load failed while importing _C: 找不到 指定的模块。