Install sklearn and sklearn

Source: Internet
Author: User

Install sklearn and sklearn
Sklearn is short for scikit-learn. Many python toolkit require the library installation sequence: wheel numpy scipy sklearn because the library has been poorly installed, there is no motivation for further study of machine learning., and kuku reported the error cause: pip install in Windows may not support installation of libraries such as scipy. Therefore, you need to manually install the installation process: # Because my computer python2 and python3 are in the same place, and I want to install them on python3, therefore, all the following three items have a first pip3 install wheel. On the cmd interface, enter python3 #. In fact, the version information has been generated at this time. You only need to know that it is 3. for Version X, win32, or 64, >>> import pip >>> print (pip. pepw.tags. get_supported () displays the current version information # Enter www.lfd.uci.edu/4247egohlke/pyt for 36, 32 On the download page of honlibs/python library, find numpy + mkl and scipy to download the corresponding version. Even though numpy has been installed on your computer, you still need to download it again (mainly mkl, enter the whl file interface, Enter cmd in the ftp address bar, and then enter the full name of pip3 install + whl file to install whl. Install numpy first and then scipy

Enter python3 again, and the scipy reference is successful.

Sklearn is relatively simple to install. pip3 install sklearn directly.

The installation is successful. You can use it!

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.