安装Python的sklearn,机器学习

首先第一步安装scipy:

 网址:http://www.lfd.uci.edu/~gohlke/pythonlibs/ 中找到你需要的版本scipy,在最下边S开头的包,根据电脑的型号,我选的是win64,然后py3.7

 

安装Python的sklearn,机器学习

cd  下载scipy 目录下,安装
 

             pip install scipy-1.2.1-cp37-cp37m-win_amd64.whl

     或者在命令行中输入命令:python -m pip install --user scipy

安装Python的sklearn,机器学习

 

第二步: matplotlib
在命令行中输入命令:pip install matplotlib
安装Python的sklearn,机器学习

安装成功

第三步:安装numpy+mkl


在网址http://www.lfd.uci.edu/~gohlke/pythonlibs/ 找到你需要的numpy+mkl版本

安装Python的sklearn,机器学习然后 cd 到numpy+mkl所在的目录下,安装

安装Python的sklearn,机器学习

第四步:sklearn ,机器学习包


   pip in -U scikit-learn

安装Python的sklearn,机器学习

安装完成!