<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">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">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><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">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><br></div>