0.pip install wheel
1.从网上下载与python27对应的 numpy-1.12.1+mkl-cp27-cp27m-win32.whl,用pip命令安装
2.pip install scipy
3.pip install gensim
常见问题:
1.ImportError: cannot import name NUMPY_MKL
在pip freeze命令查看到只安装了numpy而没有mkl。 Numpy+MKL is linked to the Intel® Math Kernel Library and includes
required DLLs in the numpy.core directory. 于是下载重新安装numpy+mkl。
2.pipinstall numpy‑1.12.1+mkl‑cp35‑cp35m‑win_amd64.whl,错误提示:PermissionError:[Errno 13] Permission denied: 'd:\
\programfiles\\python\\python35\\Lib\\site-packages\\numpy\\core\\multiarray.cp35-win_amd64.pyd'。
于是关掉IDLE,在d:\programfiles\python\python35\Lib\site-packages\ 删除numpy文件夹。再pipinstall
numpy‑1.12.1+mkl‑cp35‑cp35m‑win_amd64.whl,成功。