Skip to content

Unable to add Diso #53

Description

@kartikkumar783

(tripoSG) PS D:\Python\TripoSG-main> pip install diso
Collecting diso
Using cached diso-0.1.4.tar.gz (24 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: trimesh in d:\tools\anaconda\envs\triposg\lib\site-packages (from diso) (4.6.9)
Requirement already satisfied: numpy>=1.20 in d:\tools\anaconda\envs\triposg\lib\site-packages (from trimesh->diso) (1.22.3)
Building wheels for collected packages: diso
DEPRECATION: Building 'diso' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the --use-pep517 option, (possibly combined with --no-build-isolation), or adding a pyproject.toml file to the source tree of 'diso'. Discussion can be found at pypa/pip#6334
Building wheel for diso (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
sources: ['src\pybind.cpp', 'src\cudualmc.cu', 'src\cumc.cu']
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-310\diso
copying diso_init_.py -> build\lib.win-amd64-cpython-310\diso
running build_ext
D:\tools\Anaconda\envs\tripoSG\lib\site-packages\torch\utils\cpp_extension.py:384: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
building 'diso._C' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for diso
Running setup.py clean for diso
Failed to build diso
ERROR: Failed to build in

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