【win10+anaconda3+theano安装过程吐血遇到的坑01】

在win10要配置theano环境,我选择anaconda3-4.2.0-64位版本。

首先安装anaconda3,一路默认(有一个界面需要勾选2个,没截图),重点介绍要安装方法,闭坑途径。

安装anaconda3之后安装网上的方法在环境变量Path中添加7个,为何添加7个,是为了避免后面的问题,缺一不可,吐血好一阵。最后一个路径一定不能少,原因是为了解决g++找不到的问题。

【win10+anaconda3+theano安装过程吐血遇到的坑01】



坑1:测试theano,遇到警告:WARNING (theano.tensor.blas): Using NumPy C-API based implementation for BLAS functions.


坑2:theano.test()遇到的问题:importError: no module named parameterized

解决方法:打开cmd,输入pip install parameterized

pip如果太老,会提示安装新版本,安装方法:打开cmd,输入:python -m pip install --upgrade pip


坑3:$ python ./Model/MC_CNN_Fast.py 加载数据进行训练的过程中,遇到如下问题:

ERROR (theano.gof.opt): Optimization failure due to: constant_folding

ERROR (theano.gof.opt): node: InplaceDimShuffle{x}(TensorConstant{0})

ERROR (theano.gof.opt): TRACEBACK:

ERROR (theano.gof.opt): Traceback (most recent call last):

ImportError: DLL load failed: ▒Ҳ▒▒▒ָ▒▒▒ij▒▒▒


解决方法:http://blog.csdn.net/baidu_32134295/article/details/52918453点击打开链接