Bagel: When installing requirements.txt this error appears at the end
Anyone knows what I should do to compßlete the installation?
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 35, in <module>
File "C:\Users\abu-m\AppData\Local\Temp\pip-install-6owizwex\flash-attn_b8a19e621bde4950b997dc5c4077bbb2\setup.py", line 19, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
[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.
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 19 (3 by maintainers)
I was having the same issue until I tried a prepackaged flash_attn whl
I hope it helps.