Skip to content

Pytorch3D module not found (it does not install because it depends on old libs) #487

Open
@CrisOrlandoBR

Description

@CrisOrlandoBR

I can't install this node and when I launch ComfyUI it says
\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\TriplaneGaussian\utils\ops.py", line 8, in
from pytorch3d.renderer import (
ModuleNotFoundError: No module named 'pytorch3d'

And when I try to install pytorch3d Python tries to also install a requirement for pytorch3d called "gendr"

Also the problem = gendr is very old and also does not build (Using portable python 3.12.9)

When I try to install gendr it gets this

python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 2522, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for gendr
Running setup.py clean for gendr
Failed to build gendr
ERROR: Failed to build installable wheels for some pyproject.toml based projects (gendr)

i check their github page and there is no update and it works with torch 1.9.0 and CUDA 11.1 while almost all moderns ComfyUI installations and newer nodes use newer torch and CUDA

Don't know if its related to a new python, torch and CUDA

Any tips ?

Tks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions