如何解决theano Segmentation fault?

How to solve theano Segmentation fault?

我是 运行 一个 python 文件,内容是:

import theano.tensor as T

这给了我一个分段错误。 我正在使用蟒蛇。 如何解决?

我将 scipy 从版本 0.17.1 更新到版本 0.18.0

后遇到了同样的问题

尝试使用 conda(来自 Anaconda)为 theano 创建一个虚拟环境,使用正确的 scipy 和 numpy 版本:

conda create --name theano_env theano python=2.7

或(对于 python 3.5):

conda create --name theano_env theano python=3.5

它解决了我的问题。