Comfy3d install failed
Hi there,
i'm using comfyui out of pinokio on cuda 12.1 and python 3.10. I wanted to install your 3D-Pack form the custom nodes manager inside comfyui.
On installation, a build error occurs:
RuntimeError: Comfy3D build failed
Building C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Libs\pointnet2_ops
[Wheel BUILD LOG]
[Wheel BUILD ERROR LOG]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
Build C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Libs\pointnet2_ops Failed
Building C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Libs\simple-knn
[Wheel BUILD LOG]
[Wheel BUILD ERROR LOG]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
Build C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Libs\simple-knn Failed
Building C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Libs\vox2seq
[Wheel BUILD LOG]
[Wheel BUILD ERROR LOG]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
Build C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Libs\vox2seq Failed
Building C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Dependencies\diff-gaussian-rasterization
[Wheel BUILD LOG]
[Wheel BUILD ERROR LOG]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
Build C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Dependencies\diff-gaussian-rasterization Failed
Building C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Dependencies\nvdiffrast
[Wheel BUILD LOG]
[Wheel BUILD ERROR LOG]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
Build C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Dependencies\nvdiffrast Failed
Building C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Dependencies\kiuikit
[Wheel BUILD LOG]
[Wheel BUILD ERROR LOG]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
Build C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Dependencies\kiuikit Failed
Building C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Dependencies\pytorch3d
[Wheel BUILD LOG]
[Wheel BUILD ERROR LOG]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
Build C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Dependencies\pytorch3d Failed
Building C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Dependencies\pytorch_scatter
[Wheel BUILD LOG]
[Wheel BUILD ERROR LOG]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
Build C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Dependencies\pytorch_scatter Failed
Build all dependencies finished in 00:00:57.96
[Comfy3D] [ERROR] [Comfy3D BUILD ERROR LOG]
[notice] A new release of pip is available: 23.0.1 -> 24.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
[notice] A new release of pip is available: 23.0.1 -> 24.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
[notice] A new release of pip is available: 23.0.1 -> 24.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
ERROR: Could not find a version that satisfies the requirement xformers==0.0.28.post3 (from versions: 0.0.22.post4, 0.0.22.post7, 0.0.23, 0.0.23.post1, 0.0.24, 0.0.25, 0.0.25.post1, 0.0.26, 0.0.26.post1, 0.0.27, 0.0.27.post1, 0.0.27.post2)
ERROR: No matching distribution found for xformers==0.0.28.post3
[notice] A new release of pip is available: 23.0.1 -> 24.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
[notice] A new release of pip is available: 23.0.1 -> 24.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Cloning into 'C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Dependencies\diff-gaussian-rasterization'...
Submodule 'third_party/glm' (https://github.com/g-truc/glm.git) registered for path 'third_party/glm'
Cloning into 'C:/pinokio/api/comfy.git/app/custom_nodes/ComfyUI-3D-Pack/_Pre_Builds/_Build_Dependencies/diff-gaussian-rasterization/third_party/glm'...
Cloning into 'C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Dependencies\nvdiffrast'...
Cloning into 'C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Dependencies\kiuikit'...
Cloning into 'C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Dependencies\pytorch3d'...
Cloning into 'C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Dependencies\pytorch_scatter'...
Traceback (most recent call last):
File "C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Scripts\auto_build_all.py", line 124, in <module>
main(args)
File "C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds\_Build_Scripts\auto_build_all.py", line 111, in main
raise RuntimeError(f"[Comfy3D BUILD FAILED]: Following dependencies failed to build: {failed_build}")
RuntimeError: [Comfy3D BUILD FAILED]: Following dependencies failed to build: ['C:\\pinokio\\api\\comfy.git\\app\\custom_nodes\\ComfyUI-3D-Pack\\_Pre_Builds\\_Libs\\pointnet2_ops', 'C:\\pinokio\\api\\comfy.git\\app\\custom_nodes\\ComfyUI-3D-Pack\\_Pre_Builds\\_Libs\\simple-knn', 'C:\\pinokio\\api\\comfy.git\\app\\custom_nodes\\ComfyUI-3D-Pack\\_Pre_Builds\\_Libs\\vox2seq', 'https://github.com/ashawkey/diff-gaussian-rasterization.git', 'https://github.com/NVlabs/nvdiffrast.git', 'https://github.com/ashawkey/kiuikit.git', 'https://github.com/facebookresearch/pytorch3d.git', 'https://github.com/rusty1s/pytorch_scatter.git']
Do you have any ideas, how i could solve this?
Before the build starts, i see the following line:
Couldn't download folder _Build_Wheels/_Wheels_win_py310_torch2.5.1_cu121 from repo MrForExample/Comfy3D_Pre_Builds 404
So maybe you would be able to build a pre build version for my setup and publish it?
Thanks in advance for your time and your feedback :)
Cheers and happy new year!
Update:
I could fix the error: invalid command 'bdist_wheel' problem by adding the line subprocess.run([PYTHON_PATH, "-s", "-m", "pip", "install", "wheel"]) into your auto_build_all.py file (right before the existing line result = subprocess.run([PYTHON_PATH, "setup.py", "bdist_wheel", "--dist-dir", output_dir], cwd=dependency_dir, text=True, capture_output=True)).
But after all, i still get build errors (something about my VS BuildTools installation seems not to be right... maybe my VS installation is to new for cuda or something like that...)
So, if you would be able to provide some pre builded files for my environment (_Wheels_win_py310_torch2.5.1_cu121), i would be very thankful.
@RaemyS recommend you the new version for cuda 12.8 with wheels available