Open anttiluode opened 4 months ago
What is this ComfyUI-3D-Pack_init.py
script? I don't think I wrote, where did you download this project? git clone?
I got it working in the portable comfyui by running the: install_windows_portable_win_py311_cu121.bat Thx!
My issue is this:
Traceback (most recent call last): File "G:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1893, 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 "G:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack__init.py", line 18, in
module = importlib.import_module(f".{nodes_filename}", package= name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\Lib\importlib\init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 "G:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 27, in
from .algorithms.main_3DGS import GaussianSplatting, GaussianSplattingCameraController, GSParams
File "G:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\algorithms\main_3DGS.py", line 12, in
from .main_3DGS_renderer import GaussianSplattingRenderer
File "G:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\algorithms\main_3DGS_renderer.py", line 24, in
from diff_gaussian_rasterization import (
File "G:\diff-gaussian-rasterization\build\lib.win-amd64-cpython-39\diff_gaussian_rasterization\ init.py", line 15, in
from . import _C
ImportError: cannot import name '_C' from partially initialized module 'diff_gaussian_rasterization' (most likely due to a circular import) (G:\diff-gaussian-rasterization\build\lib.win-amd64-cpython-39\diff_gaussian_rasterization\ init__.py)
Cannot import G:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack module for custom nodes: cannot import name '_C' from partially initialized module 'diff_gaussian_rasterization' (most likely due to a circular import) (G:\diff-gaussian-rasterization\build\lib.win-amd64-cpython-39\diff_gaussian_rasterization__init__.py)
I guess this is due to me forcing the nodes.py to see that diff-gaussian-rasterization exists by pointing to it with sys command in nodes.py . Works. But cause this.