Porting to py3k: use 'six'; import theano now works.