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

simple_knn error #1064

Open
kjarada opened this issue Nov 14, 2024 · 0 comments
Open

simple_knn error #1064

kjarada opened this issue Nov 14, 2024 · 0 comments

Comments

@kjarada
Copy link

kjarada commented Nov 14, 2024

Hi, I have used CUDA11.8 ans im still getting the following error any help please?

conda env create --file environment.yml
D:\anaconda3\Lib\argparse.py:2005: FutureWarning: remote_definition is deprecated and will be removed in 25.9. Use conda env create --file=URL instead.
action(self, namespace, argument_values, option_string)
Channels:

  • pytorch
  • conda-forge
  • defaults
    Platform: win-64
    Collecting package metadata (repodata.json): done
    Solving environment: done

Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: done
Executing transaction: | "By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions

done
Installing pip dependencies: | Ran pip subprocess with arguments:
['C:\Users\\.conda\envs\gaussian_splatting\python.exe', '-m', 'pip', 'install', '-U', '-r', 'D:\01_PROGRA]
Pip subprocess output:
Processing d:\01_programming\python\gaussian-splatting\submodules\diff-gaussian-rasterization
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Processing d:\01_programming\python\gaussian-splatting\submodules\simple-knn
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Processing d:\01_programming\python\gaussian-splatting\submodules\fused-ssim
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting opencv-python
Using cached opencv_python-4.10.0.84-cp37-abi3-win_amd64.whl (38.8 MB)
Collecting joblib
Using cached joblib-1.3.2-py3-none-any.whl (302 kB)
Requirement already satisfied: numpy>=1.17.0 in c:\users\kjarada.conda\envs\gaussian_splatting\lib\site-packages (from)
Building wheels for collected packages: diff_gaussian_rasterization, simple_knn, fused_ssim
Building wheel for diff_gaussian_rasterization (setup.py): started
Building wheel for diff_gaussian_rasterization (setup.py): finished with status 'error'
Running setup.py clean for diff_gaussian_rasterization
Building wheel for simple_knn (setup.py): started
Building wheel for simple_knn (setup.py): finished with status 'error'
Running setup.py clean for simple_knn
Building wheel for fused_ssim (setup.py): started
Building wheel for fused_ssim (setup.py): finished with status 'error'
Running setup.py clean for fused_ssim
Failed to build diff_gaussian_rasterization simple_knn fused_ssim
Installing collected packages: simple_knn, fused_ssim, diff_gaussian_rasterization, opencv-python, joblib
Running setup.py install for simple_knn: started
Running setup.py install for simple_knn: finished with status 'error'

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

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-37
creating build\lib.win-amd64-cpython-37\diff_gaussian_rasterization
copying diff_gaussian_rasterization_init_.py -> build\lib.win-amd64-cpython-37\diff_gaussian_rasterization
running build_ext
C:\Users\kjarada.conda\envs\gaussian_splatting\lib\site-packages\torch\utils\cpp_extension.py:346: UserWarning: d
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
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
running bdist_wheel
running build
running build_ext
C:\Users\.conda\envs\gaussian_splatting\lib\site-packages\torch\utils\cpp_extension.py:346: UserWarning: d
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 simple_knn
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-37
creating build\lib.win-amd64-cpython-37\fused_ssim
copying fused_ssim_init_.py -> build\lib.win-amd64-cpython-37\fused_ssim
running build_ext
C:\Users\.conda\envs\gaussian_splatting\lib\site-packages\torch\utils\cpp_extension.py:346: UserWarning: d
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 fused_ssim
error: subprocess-exited-with-error

× Running setup.py install for simple_knn did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
running install
C:\Users\kjarada.conda\envs\gaussian_splatting\lib\site-packages\setuptools_distutils\cmd.py:66: SetuptoolsDepr.
!!

          ********************************************************************************
          Please avoid running ``setup.py`` directly.
          Instead, use pypa/build, pypa/installer or other
          standards-based tools.

          See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
          ********************************************************************************

  !!
    self.initialize_options()
  running build
  running build_ext
  C:\Users\\.conda\envs\gaussian_splatting\lib\site-packages\torch\utils\cpp_extension.py:346: UserWarning: d
    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: 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

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

1 participant