赞
踩
搜过很多帖子,遇到的大多数都是【修改环境下的/python3.8/site-packages/torch/utils/cpp_extension.py文件,将['ninja','-v']改成['ninja','--v'] 或者['ninja','--version'】,但是这会导致gcc等新的编译问题。
/python3.8/site-packages/torch/utils/cpp_extension.py
['ninja','-v']
['ninja','--v']
['ninja','--version'