LightGaussian icon indicating copy to clipboard operation
LightGaussian copied to clipboard

failed to install submodules/compress-diff-gaussian-rasterization

Open ptsmap opened this issue 1 year ago • 5 comments

pip install submodules/compress-diff-gaussian-rasterization

File "/miniconda3/envs/lod-3dgs/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1785, in _write_ninja_file_and_compile_objects _run_ninja_build( File "/miniconda3/envs/lod-3dgs/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2121, 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: ERROR: Failed to build installable wheels for some pyproject.toml based projects (diff_gaussian_rasterization)

ptsmap avatar Oct 24 '24 08:10 ptsmap

Hi, @ptsmap! Could you please provide more details to help with debugging? Thank you!

Kevin-2017 avatar Dec 30 '24 01:12 Kevin-2017

The conda environment for using 3D Gaussian Splatting can be installed.

mango1118 avatar Jan 08 '25 07:01 mango1118

I used the configuration for 3D Gaussian Splatting and commented out the following lines in lightgaussian:

setuptools=69.5.1 submodules/compress-diff-gaussian-rasterization submodules/simple-knn Then I ran the following commands separately: pip install submodules/compress-diff-gaussian-rasterization pip install submodules/simple-knn

Wting0106 avatar Mar 11 '25 13:03 Wting0106

我把python版本改为3.7.13就好了,然后环境重新安装,就像3DGS官方做的那样

lcl124252 avatar May 04 '25 08:05 lcl124252

Check whether the folder LightGaussian/submodules/compress-diff-gaussian-rasterization/third_party/glm is empty. I installed successfully by downloading "glm" manually.

KaiOtter avatar Jun 11 '25 05:06 KaiOtter