Skip to content

How to install Pytorch3D in Windows with CUDA 11.1 and Pytorch 1.8 #957

@sunshinewhy

Description

@sunshinewhy

❓ Questions on how to use PyTorch3D

I am trying to install Pytorch3D in Windows10 with CUDA 11.1, VS2019, and Pytorch 1.8. I tried the following commands and got the following errors.
Would you mind letting me know what I did wrong and how to correctly install it?

Thank you very much for your time and help!

The error is:

ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "D:\Anaconda\lib\site-packages\torch\utils\cpp_extension.py", line 1667, in _run_ninja_build
    subprocess.run(
  File "D:\Anaconda\lib\subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions