Skip to content

cpp_extension ninja subprocess error on Amazon EC2 server with CUDA 11. #69

@akokhlik

Description

@akokhlik

Hi everyone,

I am encountering issues when installing VToonify on my Amazon ec2 Linux 2 server which has CUDA 11.

Here is a snippet of the issue that I see:
Traceback (most recent call last):
File "/home/ec2-user/anaconda3/envs/vtoonify_env/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1516, in _run_ninja_build
subprocess.run(
File "/home/ec2-user/anaconda3/envs/vtoonify_env/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The full error message can be found here. Error message

The output of conda list can be found here. Conda list

Any help would be greatly appreciated.

Thank you,
Artur

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions