Open JavanMa2024 opened 1 month ago
How about installing WSL on your Windows environment and using gcc/g++ version 9?
I think you can try checking your NVIDIA CUDA development environment.
Have you tried this? https://github.com/graphdeco-inria/gaussian-splatting/issues/1036#issuecomment-2446052962
Edit: nvm it looks like theres some other problem since in the link I sent it just points to the repo for simple_knn which I think should be downloaded fine
(base) C:\Users\A>cd gaussian-splatting
(base) C:\Users\A\gaussian-splatting>conda env create --file environment.yml C:\ProgramData\anaconda3\Lib\argparse.py:2006: FutureWarning:
remote_definition
is deprecated and will be removed in 25.9. Useconda env create --file=URL
instead. action(self, namespace, argument_values, option_string) Channels:PackagesNotFoundError: The following packages are not available from current channels:
Pip subprocess error: error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [56 lines of output] No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8' running bdist_wheel C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\torch\utils\cpp_extension.py:411: UserWarning:. warnings.warn(msg.format('we could not find ninja.')) running build running build_py copying diff_gaussian_rasterization__init.py -> build\lib.win-amd64-cpython-310\diff_gaussian_rasterization running build_ext C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\torch\utils\cpp_extension.py:346: UserWarning: warnings.warn(f'Error checking compiler version for {compiler}: {error}') Traceback (most recent call last): File "", line 2, in
File "", line 34, in
File "C:\Users\A\gaussian-splatting\submodules\diff-gaussian-rasterization\setup.py", line 17, in
setup(
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools\ init__.py", line 117, in p
return distutils.core.setup(**attrs)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\core.py", line 1p
return run_commands(dist)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\core.py", line 1s
dist.run_commands()
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\dist.py", line 9s
self.run_command(cmd)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools\dist.py", line 950, in run_d
super().run_command(command)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\dist.py", line 9d
cmd_obj.run()
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools\command\bdist_wheel.py", lin
self.run_command("build")
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\cmd.py", line 31d
self.distribution.run_command(command)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools\dist.py", line 950, in run_d
super().run_command(command)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\dist.py", line 9d
cmd_obj.run()
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\command\build.pyn
self.run_command(cmd_name)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\cmd.py", line 31d
self.distribution.run_command(command)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools\dist.py", line 950, in run_d
super().run_command(command)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\dist.py", line 9d
cmd_obj.run()
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools\command\build_ext.py", linen
_build_ext.run(self)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\command\build_exn
self.build_extensions()
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\torch\utils\cpp_extension.py", line 43s
self._check_cuda_version(compiler_name, compiler_version)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\torch\utils\cpp_extension.py", line 80n
torch_cuda_version = packaging.version.parse(torch.version.cuda)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_vendor\packaging\version.pe
return Version(version)
File "C:\ProgramData\anaconda3\envs\gaussiansplatting\lib\site-packages\setuptools_vendor\packaging\version.p
match = self._regex.search(version)
TypeError: expected string or bytes-like object
[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 error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [54 lines of output] No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8' running bdist_wheel C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\torch\utils\cpp_extension.py:411: UserWarning:. warnings.warn(msg.format('we could not find ninja.')) running build running build_ext C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\torch\utils\cpp_extension.py:346: UserWarning: warnings.warn(f'Error checking compiler version for {compiler}: {error}') Traceback (most recent call last): File "", line 2, in
File "", line 34, in
File "C:\Users\A\gaussian-splatting\submodules\simple-knn\setup.py", line 21, in
setup(
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools__init__.py", line 117, in p
return distutils.core.setup(**attrs)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\core.py", line 1p
return run_commands(dist)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\core.py", line 1s
dist.run_commands()
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\dist.py", line 9s
self.run_command(cmd)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools\dist.py", line 950, in run_d
super().run_command(command)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\dist.py", line 9d
cmd_obj.run()
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools\command\bdist_wheel.py", lin
self.run_command("build")
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\cmd.py", line 31d
self.distribution.run_command(command)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools\dist.py", line 950, in run_d
super().run_command(command)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\dist.py", line 9d
cmd_obj.run()
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\command\build.pyn
self.run_command(cmd_name)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\cmd.py", line 31d
self.distribution.run_command(command)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools\dist.py", line 950, in run_d
super().run_command(command)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\dist.py", line 9d
cmd_obj.run()
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools\command\build_ext.py", linen
_build_ext.run(self)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\command\build_exn
self.build_extensions()
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\torch\utils\cpp_extension.py", line 43s
self._check_cuda_version(compiler_name, compiler_version)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\torch\utils\cpp_extension.py", line 80n
torch_cuda_version = packaging.version.parse(torch.version.cuda)
File "C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_vendor\packaging\version.pe
return Version(version)
File "C:\ProgramData\anaconda3\envs\gaussiansplatting\lib\site-packages\setuptools_vendor\packaging\version.p
match = self._regex.search(version)
TypeError: expected string or bytes-like object
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for simple_knn error: subprocess-exited-with-error
× Running setup.py install for simple_knn did not run successfully. │ exit code: 1 ╰─> [69 lines of output] No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8' running install C:\ProgramData\anaconda3\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\cmd.py:66: SetuptoolsDep. !!
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. ╰─> simple_knn
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.
failed
CondaEnvException: Pip failed