MrForExample / ComfyUI-3D-Pack

An extensive node suite that enables ComfyUI to process 3D inputs (Mesh & UV Texture, etc) using cutting edge algorithms (3DGS, NeRF, etc.)
MIT License
1.81k stars 176 forks source link

dependency conflict #190

Closed 807502278 closed 1 week ago

807502278 commented 1 week ago

win11+python3.11+miniconda

torchaudio 2.3.1 requires torch==2.3.1, but you have torch 2.3.0+cu121 which is incompatible. torchvision 0.18.1+cu121 requires torch==2.3.1+cu121, but you have torch 2.3.0+cu121 which is incompatible.  xformers 0.0.26.post1 requires torch==2.3.0, but you have torch 2.3.1 which is incompatible.

saidthebird commented 1 week ago

I managed to got pass by this by manually installing them with in miniconda env.

conda install pytorch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 pytorch-cuda=12.1 -c pytorch -c nvidia

saidthebird commented 1 week ago

but then I got stuck on visualstudio error lol

807502278 commented 1 week ago

I have completely lowered the versions to solve this problem, but there seems to be a problem with the init of the new version.

807502278 commented 1 week ago

但是后来我卡在了 visualstudio 错误上,哈哈

You won't report any errors when installing with pip

807502278 commented 1 week ago

NumExpr defaulting to 8 threads. Traceback (most recent call last): File "D:\AI\ComfyUI-3D\ComfyUI\nodes.py", line 1906, 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:\AI\ComfyUI-3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack__init.py", line 50, in module = importlib.import_module(f".{nodes_filename}", package=name__) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\AI\ComfyUI-3D\ComfyUI\python_miniconda\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 "D:\AI\ComfyUI-3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 50, in from GaussianSplatting.main_3DGS import GaussianSplatting3D, GaussianSplattingCameraController, GSParams File "D:\AI\ComfyUI-3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack\MVs_Algorithms\GaussianSplatting\main_3DGS.py", line 10, in from .main_3DGS_renderer import GaussianSplattingRenderer File "D:\AI\ComfyUI-3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack\MVs_Algorithms\GaussianSplatting\main_3DGS_renderer.py", line 28, in from simple_knn._C import distCUDA2 ImportError: DLL load failed while importing _C: 找不到指定的程序。  Cannot import D:\AI\ComfyUI-3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack module for custom nodes: DLL load failed while importing _C: 找不到指定的程序。

807502278 commented 1 week ago

I have installed it,

Don't install this: image

then ninja==1.10.2

saidthebird commented 1 week ago

can you share you whole install progress?

807502278 commented 1 week ago

Using pip installation: torch==2.1.2+cu121 torchvision== 0.16.2 torchaudio==2.1.2 xformers ==0.0.23.post1 ninja==1.10.2 Then don't install the local pack on top,There's nothing special about other places

807502278 commented 1 week ago

I don't know if there will be any other issues without installing these two local packages. Currently, they can run normally