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

求大佬指导,这个报错怎么解决? #74

Open
dzx123321 opened this issue Mar 5, 2025 · 0 comments
Open

求大佬指导,这个报错怎么解决? #74

dzx123321 opened this issue Mar 5, 2025 · 0 comments

Comments

@dzx123321
Copy link

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

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [33 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/home/working/deepl_projects/Mamba-YOLO/selective_scan/setup.py", line 141, in
ext_modules = get_ext()
^^^^^^^^^
File "/home/working/deepl_projects/Mamba-YOLO/selective_scan/setup.py", line 53, in get_ext
_, bare_metal_version = get_cuda_bare_metal_version(CUDA_HOME)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/working/deepl_projects/Mamba-YOLO/selective_scan/setup.py", line 31, in get_cuda_bare_metal_version
raw_output = subprocess.check_output(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/anaconda3/envs/mambayolo/lib/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/anaconda3/envs/mambayolo/lib/python3.11/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/anaconda3/envs/mambayolo/lib/python3.11/subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/ubuntu/anaconda3/envs/mambayolo/lib/python3.11/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: ':/usr/local/cuda-12.1/bin/nvcc'

  torch.__version__  = 2.3.0




  CUDA_HOME = :/usr/local/cuda-12.1


  [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.

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