Closed Richardder closed 3 months ago
Hi. I might have messed up some things in the environment.yml
file, after making a last-minute change with the submodule (that I will revert when I get back to office).
For now, can you try running pip install submodules/diff-gaussian-rasterization/
manually?
Hi. I might have messed up some things in the
environment.yml
file, after making a last-minute change with the submodule (that I will revert when I get back to office). For now, can you try runningpip install submodules/diff-gaussian-rasterization/
manually?
It still didn't work out.
I followed the closed issue, changed the /w line to -w, and successfully installed it.
Thanks for getting back to me! I used this flag during development to pinpoint the compiler errors more easily. I removed it here since it creates problems for non-MSVC users.
Traceback (most recent call last): File "train.py", line 16, in
from gaussian_renderer import render, network_gui
File "/home/richard/program/reduced-3dgs/gaussian_renderer/init.py", line 15, in
from diff_gaussian_rasterization._C import rasterize_gaussians_variableSH_bands
ImportError: cannot import name 'rasterize_gaussians_variableSH_bands' from 'diff_gaussian_rasterization._C' (/home/richard/miniconda3/envs/gaussian_splatting/lib/python3.7/site-packages/diff_gaussian_rasterization/_C.cpython-37m-x86_64-linux-gnu.so)
I tried to reinstall the 'environment.yml' but the 'submoduled/diff-gaussian-rasterization' could not be installed.
Building wheels for collected packages: diff-gaussian-rasterization, simple-knn Building wheel for diff-gaussian-rasterization (setup.py): started Building wheel for diff-gaussian-rasterization (setup.py): finished with status 'error'
Running setup.py install for diff-gaussian-rasterization: started Running setup.py install for diff-gaussian-rasterization: finished with status 'error'
... l large amount of info ...
note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure
× Encountered error while trying to install package. ╰─> diff-gaussian-rasterization
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. failed
CondaEnvException: Pip failed
and then i tried the gaussian-splatting, i could install the 'submodules/diff-gaussian-rasterization' there ,and i was confused.