<div dir="ltr"><div><div><div>The script in the blog does work -- if run from the IronPython directory on a CMD screen which is run as an administrator.  (This is using a virgin Windows 10).<br>> "C:\Program Files\IronPython 2.7>ipy -X:Frames -m ensurepip"<br><br></div>DO NOT follow that up with an "install --upgrade pip"!<br></div>The later version of pip will not run as a module, and when run as a command gives "ImportError: No module named urllib"<br><br></div>We have work to do, guys.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 13, 2016 at 11:26 AM, Slide <span dir="ltr"><<a href="mailto:slide.o.mix@gmail.com" target="_blank">slide.o.mix@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">FYI, the blog has been moved to <a href="http://ironpython.net" target="_blank">ironpython.net</a> from blogger. The link to the article in question is here: <a href="http://ironpython.net/blog/2014/12/07/pip-in-ironpython-275.html" target="_blank">http://ironpython.net/blog/2014/12/07/pip-in-ironpython-275.html</a><div><br></div><div>I am working on a redirect on blogger to the new location. This is to allow blog posting from community members as PR on github (<a href="https://github.com/IronLanguages/ironpython.net" target="_blank">https://github.com/IronLanguages/ironpython.net</a>) </div><div><br></div><div>Thanks,</div><div><br></div><div>slide</div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 13, 2016 at 10:00 AM Vernon D. Cole <<a href="mailto:vernondcole@gmail.com" target="_blank">vernondcole@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Lawrence:<br></div>  Your question has two answers.<br></div><br>1) IronPython will run pip. You need to use a longer command line to prevent PIP from crashing when it calls _getframe. (I thought that PIP had been patched to prevent that, but I can't find the reference anymore.)  Please refer to the instructions at <a href="http://blog.ironpython.net/2014/12/pip-in-ironpython-275.html" target="_blank">http://blog.ironpython.net/2014/12/pip-in-ironpython-275.html</a><br><br></div>2) Numpy will not run on IronPython.  There has been a good deal of discussion on this mail list about how to fix that. Helpers would be welcome.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 13, 2016 at 3:43 AM, Lawrence Barwick <span dir="ltr"><<a href="mailto:lawrence.barwick@bainbridgepartners.com" target="_blank">lawrence.barwick@bainbridgepartners.com</a>></span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am unable to install ANY packages in VS 2010 with IronPython.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">This is what I get when right-clicking on Environment and trying to install numpy via pip<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">Installing 'numpy'<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">Unhandled exception:<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">Traceback (most recent call last):<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">  File "C:\Program Files (x86)\IronPython 2.7\Lib\runpy.py", line 170, in run_module<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">  File "C:\Program Files (x86)\IronPython 2.7\Lib\runpy.py", line 101, in _get_module_details<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">  File "C:\Program Files (x86)\IronPython 2.7\Lib\pkgutil.py", line 456, in get_loader<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">  File "C:\Program Files (x86)\IronPython 2.7\Lib\pkgutil.py", line 466, in find_loader<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">  File "C:\Program Files (x86)\IronPython 2.7\Lib\pkgutil.py", line 422, in iter_importers<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\__init__.py", line 13, in <module><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\exceptions.py", line 6, in <module><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\_vendor\six.py", line 701, in <module><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\_vendor\six.py", line 692, in exec_<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">  File "C:\Program Files (x86)\IronPython 2.7\Lib\runpy.py", line 109, in _get_module_details<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">AttributeError: 'module' object has no attribute '_getframe'<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">'numpy' failed to install. Exit code: 1<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Bainbridge Partners LLP is authorised and regulated by the Financial Conduct Authority to provide investment services to qualified investors.  Bainbridge Partners LLP is registered
 in England, no. OC341436, registered office Montpelier House, 106 Brompton Road, 5<sup>th</sup> Floor, London, SW3 1JJ.  <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Information contained in this e-mail is intended for the use of the addressee only and is confidential.  Any dissemination, distribution, copying or use of this communication without
 prior permission of the addressee is strictly prohibited.  This email is neither an offer to sell nor a solicitation to invest.  Past performance is not indicative of future results.
<b> </b>Opinions, conclusions and other information in this e-mail and any attachments which do not relate to the official business of the firm are neither given nor endorsed by it.<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>_______________________________________________<br>
Ironpython-users mailing list<br>
<a href="mailto:Ironpython-users@python.org" target="_blank">Ironpython-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/ironpython-users" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/ironpython-users</a><br>
<br></blockquote></div></div>
_______________________________________________<br>
Ironpython-users mailing list<br>
<a href="mailto:Ironpython-users@python.org" target="_blank">Ironpython-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/ironpython-users" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/ironpython-users</a><br>
</blockquote></div>
</div></div></blockquote></div><br></div>