Hi all,<div><br></div><div>Well, it finally worked when did this change in python2.7/site-packages/IPython/kernel/fcutil.py:</div><div><br></div><div>from foolscap import Tub, UnauthenticatedTub</div><div><br></div><div>became:</div>
<div><br></div><div>from foolscap.pb import Tub, UnauthenticatedTub</div><div><br></div><div>I am using ipython 0.10 for MacOSX via Fink.</div><div><br></div><div>Alan</div><div><br><div class="gmail_quote">On 15 March 2011 08:40, John Reid <span dir="ltr"><<a href="mailto:j.reid@mail.cryst.bbk.ac.uk">j.reid@mail.cryst.bbk.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 14/03/11 16:34, Alan Wilter Sousa da Silva wrote:<br>
> Good it's working for you.<br>
><br>
> For me, I have foolscap, but:<br>
><br>
> In [10]: from IPython.kernel.scripts import ipcluster<br>
> ---------------------------------------------------------------------------<br>
> ImportError Traceback (most recent call last)<br>
><br>
> /Users/alan/<ipython console> in <module>()<br>
><br>
> /sw/lib/python2.7/site-packages/IPython/kernel/scripts/ipcluster.py in<br>
> <module>()<br>
> 36 num_cpus<br>
> 37 )<br>
> ---> 38 from IPython.kernel.fcutil import have_crypto<br>
> 39<br>
> 40 # Create various ipython directories if they don't exist.<br>
><br>
><br>
> /sw/lib/python2.7/site-packages/IPython/kernel/fcutil.py in <module>()<br>
> 18 import os<br>
> 19<br>
> ---> 20 from foolscap import Tub, UnauthenticatedTub<br>
> 21<br>
> 22 def check_furl_file_security(furl_file, secure):<br>
><br>
> ImportError: cannot import name Tub<br>
><br>
><br>
> I am using python 2.7 from Fink in a Mac OSX 10.6.6<br>
<br>
</div>I don't know what to suggest except for checking the version of foolscap.<br>
<div><div></div><div class="h5"><br>
John.<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Alan Wilter SOUSA da SILVA, D.Sc.<div>Bioinformatician, UniProt - PANDA, EBI-EMBL<br>CB10 1SD, Hinxton, Cambridge, UK</div><div>+44 1223 49 4588</div><br>
</div>