mamba icon indicating copy to clipboard operation
mamba copied to clipboard

Errors when installing the package

Open Roberyan opened this issue 11 months ago • 8 comments

pip install mamba-ssm Collecting mamba-ssm Downloading mamba_ssm-1.2.0.post1.tar.gz (34 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [13 lines of output] /tmp/pip-install-lee62uu9/mamba-ssm_33455b8c07f14e07975c949a8e215835/setup.py:78: UserWarning: mamba_ssm was requested, but nvcc was not found. Are you sure your environment has nvcc available? If you're installing within a container from https://hub.docker.com/r/pytorch/pytorch, only images whose names contain 'devel' will provide nvcc. warnings.warn( Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/tmp/pip-install-lee62uu9/mamba-ssm_33455b8c07f14e07975c949a8e215835/setup.py", line 112, in if bare_metal_version >= Version("11.8"): NameError: name 'bare_metal_version' is not defined

  torch.__version__  = 1.12.0+cu102
  
  
  [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.

Above is the error when I was trying to install the mamba package, how should I fix this. I am using WSL2 on win11, my computer does not have nvidia GPU, must the package be downloaded on a computer with gpu?

Roberyan avatar Mar 07 '24 10:03 Roberyan