I am using ipython notebook (http://ipython.org/notebook.html) to do a demo and it seems like the print function is not working:

The commands in the above picture are rewritten here for clarity.
In [1]: 'hello world'
Out [1]: 'hello world'
In [2]: print 'hello world'
In short, there's no print output from the [2].
Does anyone know whether it's a known bug? And does anyone know how to fix it?
sys.setdefaultencoding('utf-8')(which caused my printing problem) I just encoded the variables individually:foo.encode('utf-8'). Again, not sure if your problem is the same as mine but this fixed my issue.