Unable to pre-compile ops without torch installed. Please install torch before attempting to pre-compile ops.
在执行 pip install -e . 命令报错 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 "
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.
我们只在linux系统进行过完整的测试,推荐使用linux系统。 这个错误是因为缺少pytorch,可以参考官网安装 https://pytorch.org/
We have only performed full testing on Linux systems, and we recommend using a Linux system. This error is due to a missing PyTorch installation. Please refer to the official website for installation instructions: https://pytorch.org/
This issue has been marked as stale because it has not had recent activity. If you think this still needs to be addressed please feel free to reopen this issue. Thanks
thank you so much, shizhediao. 🗡️