VAST-AI-Research/TripoSR

ERROR: Failed building wheel for torchmcubes

Opened this issue · 1 comments

     from /home/yefl/miniconda3/lib/python3.11/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                   from /home/yefl/miniconda3/lib/python3.11/site-packages/torch/include/torch/extension.h:5,
                   from cxx/grid_interp_cpu.cpp:1:
  /home/yefl/miniconda3/lib/python3.11/site-packages/torch/include/c10/util/string_view.h:10:23: fatal error: string_view: 没有那个文件或目录
   #include <string_view>
                         ^
  compilation terminated.
  error: command '/usr/bin/gcc' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for torchmcubes
Running setup.py clean for torchmcubes
Failed to build torchmcubes
ERROR: Could not build wheels for torchmcubes, which is required to install pyproject.toml-based projects

Hi @yefl2064, what's your gcc version?