Windows Python Quick Install NumPy, matplotlib, Scikit-learn and other library methods summary __python

Source: Internet
Author: User
Tags win32 install matplotlib

Because of the recent intention to learn "machine learning combat" this book, so using Python may be used NumPy, matplotlib, scikit-learn These libraries, so the Internet to find how to install these libraries, look at a number of methods, after trying to find themselves very lucky, Soon it's done, and it's not complicated. Let's get down to business!


1, to the official website https://www.python.org/downloads/download python. (The version I use is python3.4.0)


2, the system variable configuration, in the path add (plus. not replaced); C:\Python34; C:\Python34\Scripts (depending on your Python installation path)



3, into the website http://www.lfd.uci.edu/~gohlke/pythonlibs/download library, such as we want to download matplotlib this library, to find


Select the library file you need, I chose matplotlib-1.5.0-cp34-none-win32.whl to represent the Python version of 3.4 32bit (my notebook Win7 64bit, taking into account the lab computer for Win32, Simply install 32bit python on your laptop for later. To download this file can be placed on the desktop desktop
4, now began to install the library, cmd into the DOS interface input CD Desktop return (because just the download of the file on the desktop) immediately after the input pip install MATPLOTLIB-1.5.0-CP34-NONE-WIN32.WHL next is to wait And then it's done. Online said that the installation of Matplotlib This library has a lot of dependencies to install themselves, the following figure can be seen in these dependencies will automatically download and install good ~

5, verify that: No error will be OK, and then can be loaded into the code to try to run.

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.