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

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. Commented Jun 6, 2017 at 2:12
  • And you said "installing scipy gives the same error". Can you share what exact error its giving? Commented Jun 6, 2017 at 2:14
  • Error when trying to install scipy: imgur.com/a/5s9Fv Commented Jun 6, 2017 at 2:38
  • see this and this link . Commented Jun 6, 2017 at 3:16

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.