I reported that the patch worked too soon. These crept up to me too but I hadn't had time to ask about it. Just letting you know that I'm experiencing the same symptom.<br><br><div class="gmail_quote">On Sat, Aug 6, 2011 at 10:59 PM, Lev Givon <span dir="ltr"><<a href="mailto:lev@columbia.edu">lev@columbia.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Received from Julian Taylor on Sat, Aug 06, 2011 at 04:13:43AM EDT:<br>
<div><div></div><div class="h5">> 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>
</div></div>Although this patch does enable ipython 0.11 to start in spyder<br>
2.0.12, there still seem to be some problems:<br>
<br>
- When I try running a script in the "current ipython", I observe the<br>
following exception:<br>
<br>
/usr/lib/python2.6/site-packages/spyderlib/widgets/externalshell/startup.py<br>
in runfile(filename, args, wdir)<br>
112 glbs = globals()<br>
113 if '__ipythonshell__' in glbs:<br>
--> 114 glbs = glbs['__ipythonshell__'].IP.user_ns<br>
115 glbs['__file__'] = filename<br>
116 sys.argv = [filename]<br>
<br>
AttributeError: 'InteractiveShellEmbed' object has no attribute 'IP'<br>
<br>
- Created variables don't appear in the variable explorer.<br>
<br>
Is the patch supposed to fix these?<br>
<font color="#888888"><br>
L.G.<br>
</font><div><div></div><div class="h5"><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>
</div></div></blockquote></div><br>