Deep3DFaceRecon_pytorch icon indicating copy to clipboard operation
Deep3DFaceRecon_pytorch copied to clipboard

subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

Open UestcJay opened this issue 4 years ago • 6 comments

Hi, thanks for your great work! Following the installation instructions, I changed three servers, and the same error occurred. Is there any problem with this installation method or I haven't noticed anything?

UestcJay avatar Nov 28 '21 07:11 UestcJay

Hi, I hava the same question, have you ever solve it?

yangchunyu-yangchunyu avatar Mar 17 '22 04:03 yangchunyu-yangchunyu

Sorry, I do not solve this, give up

UestcJay avatar Mar 17 '22 04:03 UestcJay

Changing all '-v' beside 'ninja' to '--version' in ...site-packages/torch/utils/cpp_extension.py can solve this. But I met problem ImportError: No module named 'nvdiffrast_plugin' after doing so, and the problem seems to be insoluble by this.

XCR16729438 avatar Jul 18 '22 10:07 XCR16729438

将所有'-v'旁边 更改'ninja''--version'in...site-packages/torch/utils/cpp_extension.py 可以解决此问题。 但是我这样做之后遇到了问题,并且这个ImportError: No module named 'nvdiffrast_plugin'问题似乎无法解决。

Hi,how did you install nvdiffrast?

LY-Donkey-Burger avatar Jul 19 '22 06:07 LY-Donkey-Burger

这是来自QQ邮箱的自动回复邮件。你好,你的来件我已收到,谢谢。

UestcJay avatar Oct 11 '22 08:10 UestcJay

change -v to --version, then the problem will be solved

yuelei0428 avatar Nov 25 '23 09:11 yuelei0428