解决两个问题: (1)Import Error: No module named numpy (2)Python version 2.7 required, which was not found in the registry (1)这种错误是因为没有安装numpy科学计算库,因此需要安装此模块. 首先下载正确的exe安装文件:numpy-MKL-1.8.0.win-amd64-py2.7.exe. 接着我们双加打开安装文件,点击运行按钮 安装过程很简单,点击下一步 在第一步,如果你看到自己的…
摘自https://docs.scipy.org 1.The Basics 1.1 numpy 数组基础 NumPy’s array class is called ndarray. ndarray.ndim the number of axes (dimensions) of the array. In the Python world, the number of dimensions is referred to as rank. ndarray.shape the dimensions…