Python keras,nolearn,导入错误

时间:2015-05-01 15:45:21

标签: python ubuntu-14.04 theano deep-learning

当我尝试为theano或keras导入nolearn时,我收到此错误。



    from nolearn.lasagne import NeuralNet
ImportError: No module named nolearn.lasagne



 与Keras相同的类型。



from keras.models import Sequential
ImportError: No module named keras.models




我教过我按照Linux error when installing Keras对此进行了排序,但现实却不同。

有什么想法吗?

这是程序的导入部分。

Python 2.7.9 |Anaconda 2.2.0 (64-bit)| (default, Mar  9 2015, 16:20:48)

[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2

Type "help", "copyright", "credits" or "license" for more information.

Anaconda is brought to you by Continuum Analytics.

Please check out: http://continuum.io/thanks and https://binstar.org

>>> import keras
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named keras

0 个答案:

没有答案