win10下使用keras。
编译用的Anaconda2.7,里面集成了很多科学计算工具包,numpy, scipy等。
但在实际运行中会有报错。解决如下:
1.卸载numpy,scipy。如在使用过程中,需退出,再卸载。
2.下载numpy_mkl.whl 和 scipy.whl文件(http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy)
3. pip install file.whl
StackOverflow上大神讲的比较详细,附传送门
http://stackoverflow.com/questions/37267399/importerror-cannot-import-name-numpy-mkl
此外,使用过程中可能会有更新keras的需求:
1.安装git : conda install git
2.更新keras: pip install git+git://github.com/fchollet/keras.git --upgrade