一.安装深度学习的依赖工具包
1.安装pip快捷安装软件
命令:sudo apt-get install python-pip
2.安装numpy
在安装python的时候报如下错误,但是单独安装python-dev也报错

有一个大牛做了原因解释网址如下:http://blog.csdn.net/u013541140/article/details/51838485
解决上述报错之后,通过PIP install numpy即可成功安装
3.安装scipy:sudo pip install scipy
在安装scipy的过程中报各种各样的错误
(1)缺少dffpack包
提示:error:library dfftpack has Fortran sources but no Fortran complier found
解决方法:sudo apt-get install gfortran
(2)缺少dev、liblapack-dev、libatlas-dev、libblas-dev
解决方法:sudo apt-get install liblapack-dev等软件包
(3)g++:command not found
解决方法:sudo apt-get install g++