This version of OrderedDict is not compatible with all versions of python supported by Pylearn2. You should use

    from theano.compat.python2x import OrderedDict

instead.