导入 theano 失败。“cannot import name gof”

按照网上教程安装好了 theano 之后,import theano 出现错误。“cannot import name gof”。
网上找了很多教程,都不可行。最后找到如下教程。亲测可行!
终于解决了!!!!

问题的解决方案就是安装 libpython
查看 conda list
确实没有 libpython
然后很简单的一句命令就解决问题。

conda install libpython
import theano
成功!

感触:安装这个库的时间真的划不着,花费太多时间了。

原文地址:https://www.cnblogs.com/lovephysics/p/7220940.html