'Failed building wheel for scikit-learn. Encountered error while trying to install package

I am trying to run a project from github. While installing its requirements, I get the following error:

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

I have tried the solutions given in other answers but nothing worked.



Sources

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

Source: Stack Overflow

Solution Source