Lawrence: Your question has two answers. 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 http://blog.ironpython.net/2014/12/pip-in-ironpython-275.html
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. On Wed, Jul 13, 2016 at 3:43 AM, Lawrence Barwick < lawrence.barw...@bainbridgepartners.com> wrote: > Hi, > > > > I am unable to install ANY packages in VS 2010 with IronPython. > > > > This is what I get when right-clicking on Environment and trying to > install numpy via pip > > > > Installing 'numpy' > > Unhandled exception: > > Traceback (most recent call last): > > File "C:\Program Files (x86)\IronPython 2.7\Lib\runpy.py", line 170, in > run_module > > File "C:\Program Files (x86)\IronPython 2.7\Lib\runpy.py", line 101, in > _get_module_details > > File "C:\Program Files (x86)\IronPython 2.7\Lib\pkgutil.py", line 456, > in get_loader > > File "C:\Program Files (x86)\IronPython 2.7\Lib\pkgutil.py", line 466, > in find_loader > > File "C:\Program Files (x86)\IronPython 2.7\Lib\pkgutil.py", line 422, > in iter_importers > > File "C:\Program Files (x86)\IronPython > 2.7\lib\site-packages\pip\__init__.py", line 13, in <module> > > File "C:\Program Files (x86)\IronPython > 2.7\lib\site-packages\pip\exceptions.py", line 6, in <module> > > File "C:\Program Files (x86)\IronPython > 2.7\lib\site-packages\pip\_vendor\six.py", line 701, in <module> > > File "C:\Program Files (x86)\IronPython > 2.7\lib\site-packages\pip\_vendor\six.py", line 692, in exec_ > > File "C:\Program Files (x86)\IronPython 2.7\Lib\runpy.py", line 109, in > _get_module_details > > AttributeError: 'module' object has no attribute '_getframe' > > > > 'numpy' failed to install. Exit code: 1 > > > > 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, 5th Floor, London, SW3 1JJ. > > > > 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. 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. > > > > _______________________________________________ > Ironpython-users mailing list > Ironpython-users@python.org > https://mail.python.org/mailman/listinfo/ironpython-users > >
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org https://mail.python.org/mailman/listinfo/ironpython-users