I am trying to use iPython magics in my IPython 4.0.3 with a Python 2.7.11. However, using a magic command, e.g.:
%load_ext pep8_magic
leads to the following error.
TypeError: unicode argument expected, got 'str'
Does anyone have an idea of what could be going wrong and how I can fix it?