导入sknn失败.mlp / Theano



我试图在ippython中使用scikit-learn的神经网络模块…在Win10, 64位机器上运行Python 3.5

当我尝试导入from sknn.mlp import Classifier, Layer时,我得到以下AttributeError: module 'theano' has no attribute 'gof'

显示错误的命令行是class DisconnectedType(theano.gof.type.Type),在theanogradient.py

这个版本是0.8.2,所有的都是通过pip安装的。

有什么可能导致这个和如何解决它的灯吗?

显然是由Visual Studio的一些问题引起的。当我重新安装VS并重新启动计算机时,导入工作成功了。

感谢@super_cr7的及时回复!

最新更新