Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

does nolearn/lasagne support python 3

I am working with Neural Net implementation in nolearn.lasagne as mentioned here
However I get the following error:
ImportError: No module named 'cPickle'
I figure out that cPickle is pickle in python-3
Does nolearn/lasagne support python-3 ? If not, is there any workaround ?

like image 497
Vikas Raturi Avatar asked May 04 '15 15:05

Vikas Raturi


1 Answers

You seem to be using an older version of nolearn. Try the current master from Github with these commands:

pip uninstall nolearn pip install https://github.com/dnouri/nolearn/archive/master.zip#egg=nolearn

Here's the tests in master running with both Python 2.7 and 3.4: https://travis-ci.org/dnouri/nolearn/builds/61806852

like image 90
Daniel Nouri Avatar answered Oct 06 '22 18:10

Daniel Nouri