通过anacoda的environment添加theano的环境,使用create按钮创建时选择python版本为2.7或3.5(theano要求python版本为2.7或3.4、3.5)
在搜索框内搜索需要的库进行安装。
使用anaconda时注意不要在home中安装spyder,否则会将python版本更改至3.6版本,导致与theano要求版本不符。
不要 install!!!!
使用 /Applications/Anaconda3/anaconda3/envs/theano/bin/python3 命令打开python3.5的命令行
使用 improt theano
theano.test()
对安装的theano 进行测试