簡體   English   中英

無法導入sknn.mlp / Theano

[英]Failure to import sknn.mlp / Theano

我正在嘗試在iPython中使用scikit-learn的神經網絡模塊...在Win10、64位計算機上運行Python 3.5。

當我嘗試from sknn.mlp import Classifier, Layer返回以下AttributeError: module 'theano' has no attribute 'gof' ...

針對該錯誤突出顯示的命令行是theano \\ gradient.py中的 class DisconnectedType(theano.gof.type.Type)

Theano版本是0.8.2,所有內容都通過pip安裝。

任何可能導致此問題的燈以及如何解決的方法?

顯然,這是由於Visual Studio的某些問題引起的。 當我重新安裝VS並重新啟動計算機時,導入工作正常。

感謝@ super_cr7的及時回復!

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM