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