You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
Hi @Pak-02 - thanks for logging this issue. I don't use Windows so not an expert on these problems, but what is happening is that the installer is looking for a C compiler since the code uses Cython (which compiles to C) for faster running code. It looks like you need to install the version of Visual C++ mentioned. Did you try looking through the link in the error message?
If you install Visual C++ as suggested it should be able to finish the installation. Let me know if that helps.
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)
The text was updated successfully, but these errors were encountered: