When I try to install sklearn from pip using pip install -U scikit-learn, I get this error, I already installed numpy
trying to install scipy also gives some error.
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesStack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Explore Stack InternalWhen I try to install sklearn from pip using pip install -U scikit-learn, I get this error, I already installed numpy
trying to install scipy also gives some error.


pip install scikit-learn. It should install all dependencies first. If still not installed, first usepip install scipyand thenpip install scikit-learn. In case of windows, sometimes pip dont work correctly, then search this here on SO, it has already many answers available about using thewhlfile for installing.