Windows Python install Matplotlib

Source: Internet
Author: User
Tags install matplotlib

First, download matplotlib installation package: URL http://matplotlib.org/ downloads.html I installed the python3.4, so I chose to matplotlib-1.4.2.win32-py3.4.exe this download, and then directly click Next on the line.

Second, after installation in the IDE run import matplotlib, prompted no module named ' Six '. Missing six module, then download SIX-1.8.0-PY2.PY3-NONE-ANY.WHL (MD5) on the Https://pypi.python.org/pypi/six Web site, Then the suffix name is changed to. rar, after decompression with the decompression software, there is a six.py file, the file is copied to the C:\Python34\Lib directory.

Third, then run import matplotlib, prompted matplotlib requires Dateutil, and then in http://www.lfd.uci.edu/~gohlke/pythonlibs/# Python-dateutil find Python-dateutil, and then select the appropriate version, I use the python-dateutil-2.3.win32-py3.4.

Four, then run import matplotlib, hint matplotlib requires pyparsing, in http://www.lfd.uci.edu/~gohlke/pythonlibs/# Python-dateutil find pyparsing Choose to download the appropriate version can be.

Then run: Import Matplotlib;import matplotlib.pyplot as PLT; no error is prompted, that is, the installation is complete.

If you also need to install NumPy, agree to search NumPy in http://www.lfd.uci.edu/~gohlke/pythonlibs/#python-dateutil.

Note: The above download of these packages is the same URL, and is a fool-type installation, soon.

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.