mamba icon indicating copy to clipboard operation
mamba copied to clipboard

Building wheel for mamba-ssm (setup.py) ... error

Open Z-rabbit opened this issue 1 year ago • 5 comments

I am stuck on this "Building wheel for mamba-ssm (setup.py) ... error" error for a long time now, and I haven't found a solution, it's too crashy~ have any of you encountered this problem? Could you help me? Thanks a lot!

Building wheels for collected packages: mamba-ssm Building wheel for mamba-ssm (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [8 lines of output]

  torch.__version__  = 1.13.1+cu117
  
  
  running bdist_wheel
  Guessing wheel URL:  https://github.com/state-spaces/mamba/releases/download/v1.1.1/mamba_ssm-1.1.1+cu118torch1.13cxx11abiFALSE-cp38-cp38-linux_x86_64.whl
  error: <urlopen error retrieval incomplete: got only 8601600 out of 152108606 bytes>
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for mamba-ssm Running setup.py clean for mamba-ssm Failed to build mamba-ssm ERROR: Could not build wheels for mamba-ssm, which is required to install pyproject.toml-based projects

Z-rabbit avatar Jan 11 '24 10:01 Z-rabbit

error: <urlopen error retrieval incomplete: got only 8601600 out of 152108606 bytes>](error: <urlopen error retrieval incomplete: got only 8601600 out of 152108606 bytes>)](error: <urlopen error retrieval incomplete: got only 8601600 out of 152108606 bytes>)

looks like download issue, probably you need to rerun the command again, and make sure your network is stable.

raymond-infinitecode avatar Jan 16 '24 07:01 raymond-infinitecode

I have the same problem

Wave2689 avatar Feb 22 '24 11:02 Wave2689

same here

Xiangyue-Zhang avatar Mar 31 '24 14:03 Xiangyue-Zhang

Try to update torch version:

pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu117

v-nhandt21 avatar Apr 12 '24 14:04 v-nhandt21

I am stuck on this "Building wheel for mamba-ssm (setup.py) ... error" error for a long time now, and I haven't found a solution, it's too crashy~ have any of you encountered this problem? Could you help me? Thanks a lot!

Building wheels for collected packages: mamba-ssm Building wheel for mamba-ssm (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [8 lines of output]

  torch.__version__  = 1.13.1+cu117
  
  
  running bdist_wheel
  Guessing wheel URL:  https://github.com/state-spaces/mamba/releases/download/v1.1.1/mamba_ssm-1.1.1+cu118torch1.13cxx11abiFALSE-cp38-cp38-linux_x86_64.whl
  error: <urlopen error retrieval incomplete: got only 8601600 out of 152108606 bytes>
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for mamba-ssm Running setup.py clean for mamba-ssm Failed to build mamba-ssm ERROR: Could not build wheels for mamba-ssm, which is required to install pyproject.toml-based projects

try to update pip version: pip install --upgrade pip then I can install mamba-ssm successfully.

zmz987 avatar Apr 17 '24 01:04 zmz987

Hello, have you solved your problem? I have the same problem, can you tell me the solution?

WANGSIQII avatar Jul 03 '24 02:07 WANGSIQII

Hello, have you solved your problem? I have the same problem, can you tell me the solution?

yes, I try to update pip version: pip install --upgrade pip then I can install mamba-ssm successfully.

zmz987 avatar Jul 03 '24 02:07 zmz987