'Stuck on "Installing build dependencies ... \" while installing scikit-lean on jupyter notebook

I get stuck when i use pip install to install scikit-learn on jupyter notebook

enter image description here

I tried to find other solution that I found on internet but it is always the same issue

enter image description here



Solution 1:[1]

I was opening jupyter notebook with sagemath, it seems that the problem was from it. It works if I open jupyter notebook without sagemath

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 Adrien Prevost