[IPython-User] problem with autoreload in Ipython 2

Sudheer Joseph sudheer.joseph@yahoo....
Mon Aug 19 18:54:15 CDT 2013






>________________________________
> From: David Prager Branner <brannerchinese@gmail.com>
>To: Discussions about using IPython. http://ipython.org <ipython-user@scipy.org> 
>Sent: Saturday, 17 August 2013 7:04 PM
>Subject: [IPython-User] problem with autoreload in Ipython 2
> 
>
>
>With Ipython3 I use a startup file (in ~/.ipython/profile_default/startup/) containing
>
>
>%load_ext autoreload
>>%autoreload 2
>>
>
>and all works very well. But when I start Ipython2, those commands lead to a series of error messages, of the form
>
>
>[autoreload of email.MIMEMessage failed …
>>[autoreload of email.Header failed …
>>[autoreload of email.MIMEImage failed …
>>>>
>[autoreload of json.decoder failed 
>>>
>And after that using the arrow keys to show history produces ill-formed lines. This situation persists even when I delete the startup file and enter those commands at the REPL prompt; it persists even after deletion of ~/.ipython and reinstallation of Ipython with pip.
>
>
>
>I don't recall having installed these modules and don't understand why they are being autoreloaded by Ipython 2 and then raising "failed" errors. What is going wrong?
>
>
>
>David Branner
>_______________________________________________
>IPython-User mailing list
>IPython-User@scipy.org
>http://mail.scipy.org/mailman/listinfo/ipython-user
>
>In case of me with ipython 2.7.3 it even do not recognize the %load_ext command in startup script, it throw an error.
>with best regards,
>Sudheer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130820/2ca894c3/attachment-0001.html 


More information about the IPython-User mailing list