subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
将anaconda环境下的 lib/python3.5/dist-packages/torch/utils/cpp_extension.py文件
将['ninja','-v']改成['ninja','--v'] 或者['ninja','--version']
将anaconda环境下的 lib/python3.5/dist-packages/torch/utils/cpp_extension.py文件
将['ninja','-v']改成['ninja','--v'] 或者['ninja','--version']