SegAnyGAussians icon indicating copy to clipboard operation
SegAnyGAussians copied to clipboard

install failed

Open dzy666fly opened this issue 3 months ago • 5 comments

Thank u so much for sharing this work!

Well, to begin with, I use the command conda env create --file environment.yml to install this project, but it shows error as follows.

Installing pip dependencies: | Ran pip subprocess with arguments: ['/home/zhenyuan/miniconda3/envs/gs_saga_original/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/zhenyuan/Code/p_SegAnyGAussians_2/condaenv.1k0jk7q2.requirements.txt', '--exists-action=b'] Pip subprocess output: Processing ./submodules/diff-gaussian-rasterization Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error'

Pip subprocess error: error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 36, in File "", line 34, in File "/home/zhenyuan/Code/p_SegAnyGAussians_2/submodules/diff-gaussian-rasterization/setup.py", line 13, in from torch.utils.cpp_extension import CUDAExtension, BuildExtension File "/home/zhenyuan/miniconda3/envs/gs_saga_original/lib/python3.7/site-packages/torch/init.py", line 202, in from torch._C import * # noqa: F403 ImportError: /home/zhenyuan/miniconda3/envs/gs_saga_original/lib/python3.7/site-packages/torch/lib/libtorch_cpu.so: undefined symbol: iJIT_NotifyEvent [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

failed CondaEnvException: Pip failed

So how can I solve this issue?

Thank u so much. Looking forward to ur reply.

dzy666fly avatar Sep 08 '25 12:09 dzy666fly

I also encountered the same problem. It took me a long time to solve it but still no solution was found. However, this is the most fundamental step. For such a high-collaboration-volume open-source project, there shouldn't be any problems. Do you have any new ideas for solving this problem now? You can communicate together.

kmmaster avatar Sep 09 '25 12:09 kmmaster

Hi, I've never encountered this problem before. Were you able to successfully install the original Gaussian Splatting project? This seems to be an issue with the machine's environment, not SAGA configuration.

Jumpat avatar Sep 15 '25 02:09 Jumpat

Hi, I've never encountered this problem before. Were you able to successfully install the original Gaussian Splatting project? This seems to be an issue with the machine's environment, not SAGA configuration.

Thank u so much for reply. I can install the original Gaussian Splatting project successfully (also can nerf-studio). U know, @kmmaster also meets this issue.

dzy666fly avatar Sep 15 '25 05:09 dzy666fly

Since our project relies on similar environment with the original Gaussian-Splatting, can you try to build the cuda extension (diff-rasterizations) in a 3D-GS environment? I guess this can help.

Jumpat avatar Sep 15 '25 06:09 Jumpat

Since our project relies on similar environment with the original Gaussian-Splatting, can you try to build the cuda extension (diff-rasterizations) in a 3D-GS environment? I guess this can help.

Thank u. Which version of ur project do u recommend to use? main or v2?

dzy666fly avatar Sep 15 '25 08:09 dzy666fly