简体   繁体   English

导入`theano`时python.exe崩溃

[英]python.exe crashes when importing `theano`

I am using Anaconda(2.2 64bit) on a Windows 7 64-bit machine. 我在Windows 7 64位计算机上使用Anaconda(2.2 64bit)。 When I try to 当我尝试

import theano

Python crashes without infomation. Python崩溃而没有信息。 I installed theano using Anaconda. 我使用Anaconda安装了theano

Does anyone know where this problem comes from? 有谁知道这个问题来自哪里?

This could be caused by a missing, or incorrectly configured C compiler. 这可能是由于缺少或配置错误的C编译器引起的。 There's a lot of help about installing Theano on Windows in the documentation . 文档中提供了有关在Windows上安装Theano的很多帮助。

In particular, make sure you've run 特别要确保您已经跑步

conda install mingw libpython

我通过使用anaconda 2.10而不是anaconda 2.20解决了这个问题。但是我仍然不知道原因。如果有人可以告诉我,我将不胜感激

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM