[IronPython] multiprocessing in 2.7

Romain Gilles romain.gilles at gmail.com
Wed Mar 23 09:33:56 CET 2011


Hi all,
I'm trying to use this feature in ironpython. I just follow the first
sample:
--------------------------------------------
from multiprocessing import Process

def f(name):
    print 'hello', name

if __name__ == '__main__':
    p = Process(target=f, args=('bob',))
    p.start()
    p.join()
--------------------------------------------
But I get the following error when I'm executing it:
--------------------------------------------
c:\temp>ipy test-ipy-multiprocessing.py
Traceback (most recent call last):
  File "test-ipy-multiprocessing.py", line 1, in <module>
ImportError: No module named multiprocessing
--------------------------------------------

Thanks for any help.

Regards.

Romain.

PS: I have just installed the last release of IronPython 2.7
--------------------------------------------
c:\temp>ipy -V
PythonContext 2.7.0.40 on .NET 4.0.30319.1
--------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20110323/4b3cf44a/attachment.html>


More information about the Ironpython-users mailing list