Closed JerryShiue closed 1 year ago
@JerryShiue Hey @JerryShiue I think I just solved this bug, I never got it on my end after repeat uninstall and install.
@kyegomez OK, let me try
@kyegomez Thanks, I also solved this problem
How did you solve this issue?
Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [46 lines of output]
Traceback (most recent call last):
File "
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.
When I was pip install rt2, an error occurred when running deepspeed, the error is as follows, I can't find a solution, help me
Collecting deepspeed (from palme->-r requirements.txt (line 6)) Using cached deepspeed-0.10.2.tar.gz (858 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [9 lines of output] Traceback (most recent call last): File "", line 36, in
File "", line 34, in
File "C:\Users\shtseng\AppData\Local\Temp\pip-install-he0jlh01\deepspeed_3f29e5e48d7248c2937cac6abb05e625\setup.py", line 147, in
assert torch_available, "Unable to pre-compile ops without torch installed. Please install torch before attempting to pre-compile ops."
AssertionError: Unable to pre-compile ops without torch installed. Please install torch before attempting to pre-compile ops.
[WARNING] Unable to import torch, pre-compiling ops will be disabled. Please visit https://pytorch.org/ to see how to properly install torch on your system.
[WARNING] unable to import torch, please install it if you want to pre-compile any deepspeed ops.
DS_BUILD_OPS=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.