Install PIP management Scikit-learn under Windows

Source: Internet
Author: User

Recently in research Scikit-learn Open source package, always encountered Scikit-learn package can not find the problem, follow the following steps to solve the problem, the specific steps are as follows:

1, install Python, generally 2.7, website: https://www.python.org/downloads/

2, Python installation distribute: Open the cmd of windows, switch to the distribute-0.6.36 directory. Input: Python setup.py install. Website: https://pypi.python.org/pypi/distribute

3, install pip: Download get-pip.py. Put it in a Python-installed folder. Run: Python get-pip.py. URL: https://bootstrap.pypa.io/get-pip.py, save content Copy as get-pip.py

4, when the use of Sklearn machine learning research, when encountered when we encounter similar "Importerror:cannotimport Name * *" Such a problem, we run PIP Install-u Scikit-learn, so the problem is solved.

5, we can add the path of the PIP to the system environment, so that each time you open cmd, do not change the path, directly hit the PIP.

reference:http://blog.csdn.net/weiyidemaomao/article/details/8779728

Install PIP management Scikit-learn under Windows

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.