Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing requirements #17

Closed
311-code opened this issue Dec 4, 2023 · 13 comments
Closed

Error when installing requirements #17

311-code opened this issue Dec 4, 2023 · 13 comments

Comments

@311-code
Copy link

311-code commented Dec 4, 2023

I was doing the instructions and it installs everything but gives this error at the end:

ERROR: Could not find a version that satisfies the requirement triton (from versions: none)
ERROR: No matching distribution found for triton

Any ideas? Using Anaconda on windows 11. 4090 here.

@YixunLiang
Copy link
Member

YixunLiang commented Dec 4, 2023 via email

@311-code
Copy link
Author

311-code commented Dec 4, 2023

Thanks that worked, though I have a new error now (cuda 10.2 is installed to the proper directory)

Building wheels for collected packages: diff-gaussian-rasterization
Building wheel for diff-gaussian-rasterization (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2'
running bdist_wheel
C:\Users\PC\anaconda3\envs\LucidDreamer\lib\site-packages\torch\utils\cpp_extension.py:476: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-39
creating build\lib.win-amd64-cpython-39\diff_gaussian_rasterization
copying diff_gaussian_rasterization_init_.py -> build\lib.win-amd64-cpython-39\diff_gaussian_rasterization
running build_ext
C:\Users\PC\anaconda3\envs\LucidDreamer\lib\site-packages\torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
error: [WinError 2] The system cannot find the file specified
[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

@YixunLiang
Copy link
Member

YixunLiang commented Dec 4, 2023 via email

@311-code
Copy link
Author

311-code commented Dec 4, 2023

Just tried 12.3 but same error :(

@311-code
Copy link
Author

311-code commented Dec 4, 2023

I have a feeling this is related to windows 11/anaconda, going to try WSL ubuntu tomorrow.

@YixunLiang
Copy link
Member

Could you please share your email with me? I sent you a environment.yaml for a try.

@311-code
Copy link
Author

311-code commented Dec 4, 2023

yes its brentjohnson221@outlook.com

@TangYucopper
Copy link

TangYucopper commented Dec 6, 2023

Hi, may I get a copy of your environment.yaml? Unfortunately I cannot run your code even though I follow your installation procedure completely. It consistently produces CUDA errors such as "numel: integer multiplication overflow" and "illegal memory access" @YixunLiang . Thanks in advance! Besides, could you please tell me which version of nvcc compiler are you using as it is used to compile the diff-gaussian-rasterization package.

@YixunLiang
Copy link
Member

Sure, please give me your email. But it might be diff-gaussian-rasterization problem, not the environment.

For the problem of cuda error. you can check this: graphdeco-inria/gaussian-splatting#41 . It might be helpful. BTW, Is your GPU RTX4090?

My nvcc version is:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Mon_Oct_12_20:09:46_PDT_2020
Cuda compilation tools, release 11.1, V11.1.105
Build cuda_11.1.TC455_06.29190527_0

Hi, may I get a copy of your environment.yaml? Unfortunately I cannot run your code even though I follow your installation procedure completely. It consistently produces CUDA errors such as "numel: integer multiplication overflow" and "illegal memory access" @YixunLiang . Thanks in advance!

@TangYucopper
Copy link

Sure, please give me your email. But it might be diff-gaussian-rasterization problem, not the environment.

For the problem of cuda error. you can check this: graphdeco-inria/gaussian-splatting#41 . It might be helpful. BTW, Is your GPU RTX4090?

My nvcc version is:

nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2020 NVIDIA Corporation Built on Mon_Oct_12_20:09:46_PDT_2020 Cuda compilation tools, release 11.1, V11.1.105 Build cuda_11.1.TC455_06.29190527_0

Hi, may I get a copy of your environment.yaml? Unfortunately I cannot run your code even though I follow your installation procedure completely. It consistently produces CUDA errors such as "numel: integer multiplication overflow" and "illegal memory access" @YixunLiang . Thanks in advance!

Thanks. My GPU is RTX4090. Let me first check the issue page.

@SweetCone1
Copy link

Thanks that worked, though I have a new error now (cuda 10.2 is installed to the proper directory)

Building wheels for collected packages: diff-gaussian-rasterization Building wheel for diff-gaussian-rasterization (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [14 lines of output] No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2' running bdist_wheel C:\Users\PC\anaconda3\envs\LucidDreamer\lib\site-packages\torch\utils\cpp_extension.py:476: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.')) running build running build_py creating build creating build\lib.win-amd64-cpython-39 creating build\lib.win-amd64-cpython-39\diff_gaussian_rasterization copying diff_gaussian_rasterization__init__.py -> build\lib.win-amd64-cpython-39\diff_gaussian_rasterization running build_ext C:\Users\PC\anaconda3\envs\LucidDreamer\lib\site-packages\torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified warnings.warn(f'Error checking compiler version for {compiler}: {error}') error: [WinError 2] The system cannot find the file specified [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 encountered the same problem, has it been solved? I also installed two dependencies when running 3D gauss splatting, but they installed without any issues.

@SweetCone1
Copy link

@YixunLiang

@AbnerVictor
Copy link
Collaborator

Thanks that worked, though I have a new error now (cuda 10.2 is installed to the proper directory)
Building wheels for collected packages: diff-gaussian-rasterization Building wheel for diff-gaussian-rasterization (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [14 lines of output] No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2' running bdist_wheel C:\Users\PC\anaconda3\envs\LucidDreamer\lib\site-packages\torch\utils\cpp_extension.py:476: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.')) running build running build_py creating build creating build\lib.win-amd64-cpython-39 creating build\lib.win-amd64-cpython-39\diff_gaussian_rasterization copying diff_gaussian_rasterization__init__.py -> build\lib.win-amd64-cpython-39\diff_gaussian_rasterization running build_ext C:\Users\PC\anaconda3\envs\LucidDreamer\lib\site-packages\torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified warnings.warn(f'Error checking compiler version for {compiler}: {error}') error: [WinError 2] The system cannot find the file specified [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 encountered the same problem, has it been solved? I also installed two dependencies when running 3D gauss splatting, but they installed without any issues.

Hi, your error indicates that there might be some problem with ninja, you may install ninja first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants