ashawkey / cubvh

CUDA Mesh BVH tools.
MIT License
156 stars 11 forks source link

Failed to install #9

Open Taxalfer opened 10 months ago

Taxalfer commented 10 months ago

I just run the command "pip install git+https://github/ashawkey/cubvh" and got problem below:

=============================== Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File "", line 36, in File "", line 34, in File "/tmp/pip-req-build-fc2yzsks/setup.py", line 3, in from torch.utils.cpp_extension import BuildExtension, CUDAExtension ModuleNotFoundError: No module named 'torch' [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.

how can i fix this.

Taxalfer commented 10 months ago

I am sorry for asking such a stupid question. After installed torch, you can fix this problem.