Python 3.5.0安装Numpy库 scipy库 matplotlib库 及sklearn库详细过程
来源:互联网 发布:新南威尔士奖学金知乎 编辑:程序博客网 时间:2024/06/06 09:20
为了运行机器学习书上的实例,安装numpy.照着网上教程安装的,网上教程
安装先后顺序
1.安装numpy库
1)下载numpy包
下载地址:http://www.lfd.uci.edu/~gohlke/pythonlibs/
自己的是python3.5, 64位操作系统,所以选择numpy-1.13.1+mkl-cp35-cp35m-win_amd64.whl
2)安装numpy
将下载的包拷贝到python安装目录下D:\Program Files\Python\Scripts
执行 pip install “numpy-1.13.1+mkl-cp35-cp35m-win_amd64.whl”
看着像要升级pip啥的,按照提示,进入python安装目录
输入 python -m pip install –upgrade pip
等一会后,升级成功
再执行pip install “numpy-1.13.1+mkl-cp35-cp35m-win_amd64.whl”
再等一会,安装成功
2.安装scipy库
1)下载scipy包
http://www.lfd.uci.edu/~gohlke/pythonlibs/
自己的是python3.5, 64位操作系统,所以选择scipy-0.19.1-cp35-cp35m-win_amd64.whl
2)安装scipy包
将下载的包拷贝到python安装目录下D:\Program Files\Python\Scripts
执行 pip install scipy-0.19.1-cp35-cp35m-win_amd64.whl 命令
安装成功
3.安装matplotlib库
http://www.lfd.uci.edu/~gohlke/pythonlibs/
与前两个安装步骤类似,选择与自己版本相同的包
使用pip install matplotlib-2.0.2-cp35-cp35m-win_amd64.whl安装
4.安装sklearn库
下载地址https://pypi.python.org/pypi/scikit-learn/0.18.1
选择与自己Python版本相同的文件(scikit_learn-0.18.1-cp35-cp35m-win_amd64.whl)
使用pip install scikit_learn-0.18.1-cp35-cp35m-win_amd64.whl命令安装
5.测试
进入Python的命令行模式,导入包进行测试如果没有错误,则说明安装成功
- Python 3.5.0安装Numpy库 scipy库 matplotlib库 及sklearn库详细过程
- Python科学库sklearn.numpy.scipy. matplotlib.pandas
- python 安装numpy,scipy,matplotlib算法库
- python及常用库numpy、scipy、matplotlib安装与卸载
- python库numpy,scipy,matplotlib安装配置过程中遇到的问题及解决方法
- python安装numpy/scipy/matplotlib/sklearn模块
- python(numpy scipy matplotlib sklearn)安装
- python及常用库numpy、scipy、matplotlib安装与卸载-Windows环境
- window下Python+Numpy+SciPy+MatPlotlib详细安装过程及可能遇到的问题
- Python 库安装(scipy,numpy)
- python下安装numpy、matplotlib、scipy过程
- python 2.7 numpy、 scipy 、matplotlib、 sklearn、pandas的安装
- 安装python及一些库文件(numpy+scipy+matplotlib+scikit-image+six)时遇到的问题
- windows下Python机器学习依赖库安装——numpy、scipy、sklearn、xgboost、theano等
- Python安装numpy、matplotlib库
- python的numpy、scipy、pandas、matplotlib、pip库下载
- Python中的numpy matplotlib scipy panda库简介
- 在windows上快速安装numpy、scipy、matplotlib库
- css3属性-webkit-font-smoothing
- 锚点设置
- Ubuntu安装Python机器学习包
- JS-字符串分割为一维数组/二维数组
- PAT basic 1008
- Python 3.5.0安装Numpy库 scipy库 matplotlib库 及sklearn库详细过程
- 帧动画的实现
- scala中None Null Nothing 和 Nil的区别
- Java并发编程之synchronized
- Add Two Numbers
- PAT basic 1009
- 数组中加入对象
- nginx ssl 双向认证
- LINQ