Hi,<div>First of all thanks for your answer :). But after updated my <span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, sans-serif; font-size: 14px; line-height: 16px; "><b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-weight: bolder; ">IRONPYTHONPATH</b> as follow:</span></div>
<div><font class="Apple-style-span" color="#333333" face="'Trebuchet MS', 'Lucida Grande', Verdana, Arial, sans-serif"><span class="Apple-style-span" style="font-size: 14px; line-height: 16px;">set IRONPYTHONPATH=c:\Python27\Lib</span></font></div>
<div><font class="Apple-style-span" color="#333333" face="'Trebuchet MS', 'Lucida Grande', Verdana, Arial, sans-serif"><span class="Apple-style-span" style="font-size: 14px; line-height: 16px; ">I get this error:</span></font></div>
<div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, sans-serif; font-size: 14px; line-height: 16px; ">-----------------------------------------</span></div>
<div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, sans-serif; font-size: 14px; line-height: 16px; "><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> File "c:\Python27\Lib\multiprocessing\__init__.py", line 63, in <module></div>
<div> File "c:\Python27\Lib\multiprocessing\process.py", line 286, in <module></div><div> File "c:\Python27\Lib\multiprocessing\process.py", line 283, in __init__</div><div>TypeError: expected IList[Byte], got str</div>
</span></div><div><font class="Apple-style-span" color="#333333" face="'Trebuchet MS', 'Lucida Grande', Verdana, Arial, sans-serif"><span class="Apple-style-span" style="font-size: 14px; line-height: 16px; ">-----------------------------------------</span></font></div>
<div><font class="Apple-style-span" color="#333333" face="'Trebuchet MS', 'Lucida Grande', Verdana, Arial, sans-serif"><span class="Apple-style-span" style="font-size: 14px; line-height: 16px; "><br></span></font><div class="gmail_quote">
2011/3/23 Oleksii Bidiuk <span dir="ltr"><<a href="mailto:oleksii.bidiuk@gmail.com">oleksii.bidiuk@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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" target="_blank">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"><div><div></div><div class="h5">2011/3/23 Romain Gilles <span dir="ltr"><<a href="mailto:romain.gilles@gmail.com" target="_blank">romain.gilles@gmail.com</a>></span><br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div></div><div class="h5">
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></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com" target="_blank">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>
</blockquote></div><br></div>