ashawkey / cubvh

CUDA Mesh BVH tools.
MIT License
166 stars 13 forks source link

Failed to install #8

Closed Wakeelfahmed closed 3 months ago

Wakeelfahmed commented 1 year ago

I'm using this for https://github.com/guochengqian/Magic123

(venv_magic123) (base) wakeel_furqan@coeai-bahria:~/Magic123-main$ pip install git+https://github.com/ashawkey/cubvh Collecting git+https://github.com/ashawkey/cubvh Cloning https://github.com/ashawkey/cubvh to /tmp/pip-req-build-3ka8odv8 Running command git clone --filter=blob:none --quiet https://github.com/ashawkey/cubvh /tmp/pip-req-build-3ka8odv8 Resolved https://github.com/ashawkey/cubvh to commit d3e923c90e56974d39f57c2e2b9bf372d2e45870 Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [17 lines of output] Traceback (most recent call last): File "/home/wakeel_furqan/Magic123-main/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/home/wakeel_furqan/Magic123-main/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/home/wakeel_furqan/Magic123-main/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) File "/tmp/pip-build-env-1zfnuah5/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) File "/tmp/pip-build-env-1zfnuah5/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-1zfnuah5/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 507, in run_setup super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script) File "/tmp/pip-build-env-1zfnuah5/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in run_setup exec(code, locals()) File "", line 3, in ModuleNotFoundError: No module named 'torch' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

the other method

or locally

git clone https://github.com/ashawkey/cubvh cd cubvh pip install .

also fails