In the Win64 python2.7 environment, installation NumPy will find that you cannot install NumPy directly using PIP install NumPy.
Reference information: Windows7 x64 installation NumPy and SciPy summarized their installation process as follows:
Laboratory at the University of California, Irvine (University of California, Irvine) LFD Laboratory (the fluorescence for Christoph Dynamics) Gohlke has an unofficial Windows source on its profile:http://www.lfd.uci.edu/~gohlke/pythonlibs/ .
1. Download NumPy
Download the corresponding version win_amd64 (Win64), Cp27 (python2.7) installation in the http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy :
Because the file suffix is named ". WHL", we need to install wheel first.
2, Installation wheel
C:\USERS\ADMINISTRATOR>PIP Install Wheel
3, installation NumPy
C:\users\administrator>pip Install C:\PYTHON-TOOLS\NUMPY-1.9.2+MKL-CP27-NONE-WIN_AMD64.WHL
During installation, if an error message appears as follows:
C:\python27\scripts>pip Install "NUMPY-1.9.2+MKL-CP26-NONE-WIN_AMD64.WHL" Numpy-1.9.2+mkl-cp26-none-win_ AMD64.WHL is a supported wheel on this platform.
, you can refer to the python2.7 Installation NumPy error: is not a supported wheel on ... "resolved.
4. Verify that the installation is successful
>>> from numpy Import *
If there is no error, the installation is successful.
Similarly installs the matplotlib.
Win64 python2.7 NumPy Installation