3

When I want to import:

from nolearn.lasagne import NeuralNet

I always got this error

"cannot import name mse".

My Theano version is 0.7.0.

Kun
  • 581
  • 1
  • 5
  • 27

1 Answers1

3

I uninstalled nolearn and lasagne:

pip uninstall nolearn
pip uninstall lasagne

And then run following in command line:

pip install -r https://raw.githubusercontent.com/dnouri/nolearn/master/requirements.txt https://github.com/dnouri/nolearn/archive/master.zip#egg=nolearn

Now it works.

P. Camilleri
  • 12,664
  • 7
  • 41
  • 76
Kun
  • 581
  • 1
  • 5
  • 27