安裝官方權威指南在這裏,爲了圖省事,就先找了一些中文的安裝心得看,反而被其中一篇給誤導了,另外一篇採用AnacondaCE 安裝的成功了,但theano不支持現在版本AnacondaCE了。自己沒有認真看官方材料如下圖,浪費了不少時間:
成功安裝,還得依靠官方材料,步驟如下:
1 下載EPD,
Enthought Python Distribution (EPD).因爲EPD包括了很多庫,如下:
EPD installation includes in particular Python (and the development headers),numpy, scipy, nose, sphinx, easy_install, pydot (butnotGraphviz,
which isnecessary for it to work), g++, and the MKLimplementation of blas. 這部分官方材料中其它要做的內容都不需要了,直接到第2步。
2 在Windows命令行窗口中輸入如下命令,自動從網上下載並安裝theano
pip install Theano安裝成功
3 測試
如下圖:
成功了。