win64 python2.7 numpy 安装

在win64 python2.7环境中,安装numpy会发现, 直接使用“pip install numpy”没法安装numpy。html

参考相关资料:Windows7 x64安装numpy和scipy 总结了本身的安装过程以下:python

在加州大学欧文分校(University of California, Irvine)LFD实验室(The Laboratory for Fluorescence Dynamics)的Christoph Gohlke在其我的主页上提供了非官方的Windows源:http://www.lfd.uci.edu/~gohlke/pythonlibs/ 。shell

一、下载numpy

 http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy 中下载对应版本win_amd64(win64)、cp27(python2.7)安装:python2.7

由于文件后缀名为".whl",因此,咱们须要先安装wheel。this

二、安装wheel

C:\Users\Administrator>pip install wheel

三、安装numpy

C:\Users\Administrator>pip install C:\python-tools\numpy-1.9.2+mkl-cp27-none-win
_amd64.whl

安装过程当中,若是出现错误信息以下:
spa

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 not a supported wheel on this platfor
m.

则,能够参照“python2.7安装numpy报错:is not a supported wheel on...”解决。.net

四、验证是否安装成功code

>>> from numpy import *

若是没报错,则,安装成功。htm

同理安装matplotlib。blog

相关文章
相关标签/搜索