Installation of Python machine learning Scikit-learn

Source: Internet
Author: User

Before installing Scikit-learn, you need to install numpy,scipy. However, there are always errors when installing scipy (pip install scipy). After a series of lookups, the reason is that scipy relies on numpy and many other libraries (such as Lapack/blas), but these libraries are not easily accessible under Windows.

After finding, the discovery can be solved by another way, http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy

Download here:

  • Numpy-1.11.2+mkl-cp34-cp34m-win32.whl
  • Scipy-0.18.1-cp34-cp34m-win32.whl
  • Scikit_learn-0.18-cp34-cp34m-win32.whl

(My environment is windows7 32-bit python3.4, you can download according to your needs):

Then install it sequentially, such as: Pip Install NUMPY-1.11.2+MKL-CP34-CP34M-WIN32.WHL

I don't know what the reason is, I have this error when I install it.

You can only change the suffix name to zip and then copy it to the Python installation directory--->lib--->site-packages.

As for the use of will not be wrong, is unknown ...

Installation of Python machine learning Scikit-learn

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.