python3.4 installation on the Windows7 x64 system matplotlib

Source: Internet
Author: User
Tags windows 7 x64 install matplotlib

The Python3.4 import matplotlib on a Windows 7 x64 system encounters some problems and is eventually resolved by looking for a solution:

Download the WHL file required for Python 3.4 to install matplotlib under the Windows 64-bit system: (http://www.lfd.uci.edu/~gohlke/pythonlibs/)

Numpy-1.9.2cp34-none-win_amd64.whl
Scipy-0.16.0rc1-cp34-none-win_amd64.whl
   Matplotlib-1.4.3-cp34-none-win_amd64.whl

  Method One:

Step one: Download the required WHL file and change the suffix to zip.

Step two: Unzip the files in the package to the Site-packages folder (e.g. C:\Program files\python34\lib\sit-packages)

(It can then be imported via import, because the imported package from import is from a package in the Site-packages folder)

There is also a scenario for installing the WHL file:

  Method Two:
Step One: Command prompt input: cd program files\python34\scripts\
Step Two: Command prompt input: Pip install D:\NUMPY-1.9.2CP34-NONE-WIN_AMD64.WHL

 Method Three:
Set system environment variables: path
Add Variable value: C:\Program files\python34\scripts;
Command Prompt input: Pip install D:\NUMPY-1.9.2CP34-NONE-WIN_AMD64.WHL

 Method Four:

     Visit: https://pypi.python.org/pypi/setuptools/, download Setuptools. Once the installation is successful, run the following instructions to install them accordingly.
Easy_install NumPy
Easy_install Scipi
Easy_install matplotlib

python3.4 installation on the Windows7 x64 system matplotlib

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.