[IPython-User] can't activate IPython parallel magics
Johann Rohwer
jr@sun.ac...
Mon Nov 22 14:01:57 CST 2010
I'm just starting out with parallel IPython and can get the cluster
controller and engine launcher working. However, when trying to activate the
IPython parallel magics from within an IPython session, I'm getting the
following traceback (running from a fresh git install). Any ideas?
Johann
In [1]: from IPython.kernel import client
/usr/local/src/ipython/IPython/kernel/client.py:48: DeprecationWarning:
twisted.internet.error.PotentialZombieWarning was deprecated in Twisted
10.0.0: There is no longer any potential for zombie process.
from twisted.internet.error import PotentialZombieWarning
2010-11-22 21:47:33+0200 [-] Log opened.
In [2]: mec=client.MultiEngineClient()
2010-11-22 21:47:46+0200 [-] Connecting [0]
2010-11-22 21:47:46+0200 [Negotiation,client] Connected:
/home/jr/.ipython/cluster_default/security/ipcontroller-mec.furl
In [3]: mec.activate()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/home/jr/<ipython-input-3-f37cf28bb36c> in <module>()
----> 1 mec.activate()
/usr/local/src/ipython/IPython/kernel/multiengineclient.py in activate(self)
273 print "The IPython parallel magics (%result, %px,
%autopx) only work within IPython."
274 else:
--> 275 pmagic = ip.get_component('parallel_magic')
276 if pmagic is not None:
277 pmagic.active_multiengine_client = self
AttributeError: 'TerminalInteractiveShell' object has no attribute
'get_component'
More information about the IPython-User
mailing list