Skip to content

Can't import package ml_insights #41

@Pak-02

Description

@Pak-02
  • ML Inspector version: the latest version
  • Python 3.12.5:
  • Operating System: Windows

Description

I was trying to install ml_insights
But it failed to build wheel for splinecalib

What I Did

cmd: pip install ml_insights
Output:
Building wheels for collected packages: splinecalib
Building wheel for splinecalib (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for splinecalib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-312
creating build\lib.win-amd64-cpython-312\splinecalib
copying splinecalib\calib_utils.py -> build\lib.win-amd64-cpython-312\splinecalib
copying splinecalib\splinecalib.py -> build\lib.win-amd64-cpython-312\splinecalib
copying splinecalib_init_.py -> build\lib.win-amd64-cpython-312\splinecalib
running build_ext
building 'loss_fun_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 splinecalib
Failed to build splinecalib
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (splinecalib)

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