thenao 安装

来源:互联网 发布:mac部分变成英文 编辑:程序博客网 时间:2024/05/16 08:41

1.sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git

2.sudo pip install Theano

测试

1.NumPy (~30s): python -c "import numpy; numpy.test()"

2.SciPy (~1m): python -c "import scipy; scipy.test()"

3.Theano (~30m): python -c "import theano; theano.test()"

这三个程序测试下能不能跑得动,没error就行。

现在的结果是 scipy 不能用, 只有第一句 python -c "import numpy; numpy.test()" 是sucess

theano也 不能用。

theano 没有安装成功。

PS 来了之后,pip install Theano

python 

错误报的是 ValueError:Unable to create the compileder directory  ‘/home/ggj/.theano/compile dir_linux_3.13--generic-x86-’

Check the permisiions.

mov  .theano .theano.bak

在写python 就不报之前的错误。最好的方法是按照官方的安装指南装。



0 0