我已经通读了
How to install Theano on Anaconda Python 2.7 x64 on Windows?
我安装了Anaconda 2并按照步骤操作,我可以导入theano,但偶尔我会在python崩溃时遇到类似于此的Windows崩溃消息窗口:
python.exe crashes when importing theano
我已经完成了“conda install mingw libpython”步骤 .
另外,当我运行theano.test()时,我收到此警告:
在theano.misc.pycuda_init中pycuda导入失败 .
总的来说,我认为Windows安装页面中有关于visual studio和其他模块的更多步骤 . 我有microsoft安装的visual studio 2012 .
1 回答
您是否完全遵循theano安装说明?
在Windows 7 x64上,我建议使用Enthought的Canopy,如果你是学生,你可以免费获得完整的包 .
或者,我之前也使用过WinPython,它工作正常 . 虽然您必须遵循所有步骤,包括:
Installing Windows Software Development Kit version 7.1 or you can install the newest Visual Studio which comes with it and it comes with an option to install Microsoft Visual C++ Compiler for Python 2.7
Installing TDM GCC
But be sure to check
http://deeplearning.net/software/theano/install_windows.html
您可能想检查一下是否错过了任何步骤 .
我之前遇到过Anaconda和Theano的问题 . 所以我放弃了使用它 . 然而,一位朋友也成功地使用了Theano和Theano .
确保在安装之前正确安装了环境和python设置 .
干
on the Command Prompt Might reveal something...
一定要安装Windows SDK和最后一个visual studio .