I went ahead and applied the patch Julian provided. It works great!<br><br>Thanks!<br><br><div class="gmail_quote">On Sat, Aug 6, 2011 at 4:23 AM, Aaron Meurer <span dir="ltr"><<a href="mailto:asmeurer@gmail.com">asmeurer@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Sat, Aug 6, 2011 at 2:13 AM, Julian Taylor<br>
<<a href="mailto:jtaylor.debian@googlemail.com">jtaylor.debian@googlemail.com</a>> wrote:<br>
> On 08/06/2011 08:11 AM, Gustavo Goretkin wrote:<br>
>> I installed IPython .11 but realized only afterwards that it is<br>
>> incompatible with Spyder IDE. I think I might have done something<br>
>> barbaric when trying to uninstall .11 and install .10. I installed .10.2<br>
>> from source and everything looks fine. When I go to run ipython, though,<br>
>> I get the following:<br>
>><br>
>> /usr/local/lib/python2.6/dist-packages/nose/plugins/manager.py:405:<br>
>> UserWarning: Module dateutil was already imported from<br>
>> /usr/local/lib/python2.6/dist-packages/dateutil/__init__.pyc, but<br>
>> /usr/lib/pymodules/python2.6 is being added to sys.path<br>
>> import pkg_resources<br>
>> Traceback (most recent call last):<br>
>> File<br>
>> "/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/externalshell/startup.py",<br>
>> line 181, in <module><br>
>> import IPython.Shell<br>
>> File "/usr/local/lib/python2.6/dist-packages/IPython/Shell.py", line<br>
>> 38, in <module><br>
>> from IPython.Magic import Magic<br>
>> File "/usr/local/lib/python2.6/dist-packages/IPython/Magic.py", line<br>
>> 89, in <module><br>
>> class Magic:<br>
>> File "/usr/local/lib/python2.6/dist-packages/IPython/Magic.py", line<br>
>> 536, in Magic<br>
>> @testdec.skip_doctest<br>
>> AttributeError: 'module' object has no attribute 'skip_doctest'<br>
>><br>
>><br>
>> Thanks,<br>
>> Gustavo<br>
>><br>
><br>
> Hi,<br>
> I can't really help with uninstalling (but here is a patch which should<br>
> fix spyder:<br>
> <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=fix-ipython.patch;att=1;bug=636726" target="_blank">http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=fix-ipython.patch;att=1;bug=636726</a><br>
><br>
> I would advise to install new software in a virtualenv<br>
> (<a href="http://pypi.python.org/pypi/virtualenv" target="_blank">http://pypi.python.org/pypi/virtualenv</a>) to test it.<br>
> that makes uninstalling much easier, you just remove the whole<br>
> virtualenv folder.<br>
><br>
> Best Regards,<br>
> Julian Taylor<br>
<br>
</div></div>You could install IPython 0.11 into a virtualenv to get an idea of<br>
what it installs where, and then go and delete those things and remove<br>
them, and install IPython 0.10.2 again.<br>
<br>
Likely you just need to delete the<br>
/usr/local/lib/python2.6/dist-packages/IPython directory, though.<br>
<br>
Aaron Meurer<br>
<br>
><br>
><br>
> _______________________________________________<br>
> IPython-User mailing list<br>
> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
><br>
><br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</blockquote></div><br>