参考 Ubuntu14.04安装Theano详细教程
参考Easy Installation of an Optimized Theano on Current Ubuntu
- sudo apt-get install gfortran
- sudo apt-get install libopenblas-dev
- sudo apt-get install liblapack-dev
- sudo apt-get install libatlas-base-dev
- sudo apt-get install python-dev
- sudo apt-get install python-pip
- sudo apt-get install python-nose
- sudo pip install nose-parameterized
- sudo apt-get install g++
- sudo apt-get install git
- python -c “import numpy;numpy.test()” 检查numpy,如果FAIL则卸载sudo apt-get remove python-numpy
- python -c “import scipy;scipy.test()”检查scipy,如果FAIL则卸载sudo apt-get remove python-scipy
- sudo pip install numpy
- python -c “import numpy;numpy.test()”
- sudo pip install scipy
- python -c “import scipy;scipy.test()”
- sudo pip install Theano
- python -c “import theano;theano.test()”