机器学习sklearn库部署环境

各文件下载链接: 
Python2.7.13 : Python2.7.13 
numpy+mkl : numpy‑1.11.3+mkl‑cp27‑cp27m‑win_amd64.whl 

Scipy:scipy‑0.19.1‑cp27‑cp27m‑win_amd64.whl


进入:C:\Python27\Scripts
easy_install.exe pip
pip install wheel 
pip install d:\xxx\numpy-1.13.3+mkl-cp27-cp27m-win32.whl
pip installd:\xxx\scipy-1.0.0-cp27-cp27m-win32.whl


如果报错:
xxxxxx is not a supported wheel on this platform
执行:
pip install --upgrade setuptools
pip install --upgrade pip


然后再输入:
pip install d:\xxx\numpy-1.13.3+mkl-cp27-cp27m-win32.whl
pip install d:\xxx\scipy-1.0.0-cp27-cp27m-win32.whl


然后在Python27的Shell中输入
import numpy 
import scipy


如果输出没有错误,说明安装没有问题。 
继续安装sklearn和panda,在命令行输入指令:


pip install sklearn
pip install pandas


安装完成后在Shell中输入指令:
import sklearn
import pandas


如果输出没有错误,至此,sklearn库安装完成。 


猜你喜欢

转载自blog.csdn.net/a33445621/article/details/78825691