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

Installing Curobo #282

Closed
GeorgeBethel opened this issue May 24, 2024 · 1 comment
Closed

Installing Curobo #282

GeorgeBethel opened this issue May 24, 2024 · 1 comment

Comments

@GeorgeBethel
Copy link

GeorgeBethel commented May 24, 2024

I am installing curobo using the link below

https://curobo.org/get_started/1_install_instructions.html

I get the error below

pip install -e . --no-build-isolation
Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///home/george/curobo
Checking if build backend supports build_editable ... done
Preparing editable metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing editable metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
Traceback (most recent call last):
File "/home/george/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/home/george/.local/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/george/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 181, in prepare_metadata_for_build_editable
return hook(metadata_directory, config_settings)
File "/home/george/.local/lib/python3.10/site-packages/setuptools/build_meta.py", line 453, in prepare_metadata_for_build_editable
return self.prepare_metadata_for_build_wheel(
File "/home/george/.local/lib/python3.10/site-packages/setuptools/build_meta.py", line 366, in prepare_metadata_for_build_wheel
self.run_setup()
File "/home/george/.local/lib/python3.10/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 22, in
File "/home/george/.local/lib/python3.10/site-packages/torch/init.py", line 237, in
from torch._C import * # noqa: F403
ImportError: libcudnn.so.8: cannot open shared object file: No such file or directory
[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.

My device spec is

  • Dell precision
  • Nvidia GeForce RTX 2000
  • nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2024 NVIDIA Corporation
    Built on Thu_Mar_28_02:18:24_PDT_2024
    Cuda compilation tools, release 12.4, V12.4.131
    Build cuda_12.4.r12.4/compiler.34097967_0
@blooop
Copy link
Contributor

blooop commented May 24, 2024

On Ubuntu 22.04 I did:
sudo apt install cuda-nvcc-11-8
pip3 install torch==2.2.1 --index-url https://download.pytorch.org/whl/cu118

You have cuda 12.4 which looks like you might need to install from source according to this page.
https://pytorch.org/get-started/locally/

@balakumar-s balakumar-s closed this as not planned Won't fix, can't repro, duplicate, stale Jun 25, 2024
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

3 participants