3DTopia / LGM

[ECCV 2024 Oral] LGM: Large Multi-View Gaussian Model for High-Resolution 3D Content Creation.
https://me.kiui.moe/lgm/
MIT License
1.71k stars 118 forks source link

Solving & ERROR: Failed building wheel for diff_gaussian_rasterization #70

Open qsong2001 opened 3 months ago

qsong2001 commented 3 months ago
    File "/workspace/miniconda3/envs/lgm/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 2116, 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 diff_gaussian_rasterization
  Running setup.py clean for diff_gaussian_rasterization
Failed to build diff_gaussian_rasterization
ERROR: Could not build wheels for diff_gaussian_rasterization, which is required to install pyproject.toml-based projects

I met this error as the project diff-gaussian-rasterization was not fully downloaded.

You can follow:

git config --global --add safe.directory /workspace/--------/diff-gaussian-rasterization/third_party/glm

if there raised this problem:

fatal: detected dubious ownership in repository at '/workspace/-----/diff-gaussian-rasterization/third_party/glm'