python.exe crashes when importing `theano`

2019-08-15 03:49发布

问题:

I am using Anaconda(2.2 64bit) on a Windows 7 64-bit machine. When I try to

import theano

Python crashes without infomation. I installed theano using Anaconda.

Does anyone know where this problem comes from?

回答1:

This could be caused by a missing, or incorrectly configured C compiler. There's a lot of help about installing Theano on Windows in the documentation.

In particular, make sure you've run

conda install mingw libpython


回答2:

I solve this problem by using anaconda 2.10 instead of anaconda 2.20.but I still have no idear about the reason.If anyone can tell me,I will appreiciate