Hi Romain,<div><br></div><div>AFAIK you have to download the Python standard library separately. See e.g. <a href="http://www.ironpython.info/index.php/Using_the_Python_Standard_Library">http://www.ironpython.info/index.php/Using_the_Python_Standard_Library</a> for examples (I've done it a while ago, so had to Google around a bit). <br>
<br><div class="gmail_quote">2011/3/23 Romain Gilles <span dir="ltr"><<a href="mailto:romain.gilles@gmail.com">romain.gilles@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<div>I'm trying to use this feature in ironpython. I just follow the first sample:</div><div><div>--------------------------------------------</div><div>from multiprocessing import Process</div><div><br></div><div>
def f(name):</div><div> print 'hello', name</div><div><br></div><div>if __name__ == '__main__':</div><div> p = Process(target=f, args=('bob',))</div><div> p.start()</div><div> p.join()</div>
</div><div>--------------------------------------------</div><div>But I get the following error when I'm executing it:</div><div>--------------------------------------------</div><div><div>c:\temp>ipy test-ipy-multiprocessing.py</div>
<div>Traceback (most recent call last):</div><div> File "test-ipy-multiprocessing.py", line 1, in <module></div><div>ImportError: No module named multiprocessing</div></div><div>--------------------------------------------</div>
<div><br></div><div>Thanks for any help.</div><div><br></div><div>Regards.</div><div><br></div><div>Romain.</div><div><br></div><div>PS: I have just installed the last release of IronPython 2.7 </div><div>--------------------------------------------</div>
<div><div>c:\temp>ipy -V</div><div>PythonContext 2.7.0.40 on .NET 4.0.30319.1</div></div><div>--------------------------------------------</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>oleksii<br>
</div>