0

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.

Error while installing scikit-learn

Error while installing scipy

Vivek Kumar
  • 35,217
  • 8
  • 109
  • 132
Ridge Haven
  • 13
  • 1
  • 4
  • The error is because the scipy package (a dependency of scikit) is not installed. Simply use `pip install scikit-learn`. It should install all dependencies first. If still not installed, first use `pip install scipy` and then `pip 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 the `whl` file for installing. – Vivek Kumar Jun 06 '17 at 02:12
  • And you said "installing scipy gives the same error". Can you share what exact error its giving? – Vivek Kumar Jun 06 '17 at 02:14
  • Error when trying to install scipy: http://imgur.com/a/5s9Fv – Ridge Haven Jun 06 '17 at 02:38
  • see [this](https://stackoverflow.com/questions/12628164/trouble-installing-scipy-on-windows/42664324#42664324) and [this link](https://stackoverflow.com/questions/4750806/how-do-i-install-pip-on-windows) . – R.A.Munna Jun 06 '17 at 03:16

0 Answers0