'Failed to install optbinning in python: ERROR: Could not build wheels for scs, which is required to install pyproject.toml-based projects

I've tried to install optbinning package in python using Jupyter Notebook, but got an error.

!pip install optbinning



 ERROR: Could not build wheels for scs, which is required to install pyproject.toml-based projects

How to solve this issue?



Solution 1:[1]

This is due to the CVXPY dependency. On Windows, you might need Microsoft Build Tools and Cython. On Linux, Mac you should not encounter any issue if a C++ compiler is installed.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Guillermo Navas-Palencia