[IPython-User] install .10 after installing .11

Gustavo Goretkin gustavo.goretkin@gmail....
Sat Aug 6 04:16:42 CDT 2011


I went ahead and applied the patch Julian provided. It works great!

Thanks!

On Sat, Aug 6, 2011 at 4:23 AM, Aaron Meurer <asmeurer@gmail.com> wrote:

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


More information about the IPython-User mailing list