[Ironpython-users] Install numpy / VS 2010
Steve Dower
steve.dower at python.org
Tue Jul 26 20:20:53 EDT 2016
Anyone who wants to encourage the six developers to fix
https://bitbucket.org/gutworth/six/issues/135/have-a-fallback-for-sys_getframe-usage-in
and/or
https://bitbucket.org/gutworth/six/issues/126/deprecate-exec_
would also help, since this (unused) code is what demands -X:Frames.
Since it'll require a change to pip anyway (as pip vendors six), it'd
also be a good time to get any other fixes needed into pip. (Though I
suspect most of the problems though are differences between CPython and
IronPython, so they probably need to be fixed in IronPython.)
Cheers,
Steve
On 13Jul2016 1143, Slide wrote:
> It would be nice if we could generate a pip.bat or something when pip is
> installed that would handle the arguments.
>
>
> On Wed, Jul 13, 2016, 11:41 Vernon D. Cole <vernondcole at gmail.com
> <mailto:vernondcole at gmail.com>> wrote:
>
> 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).
> > "C:\Program Files\IronPython 2.7>ipy -X:Frames -m ensurepip"
>
> DO NOT follow that up with an "install --upgrade pip"!
> The later version of pip will not run as a module, and when run as a
> command gives "ImportError: No module named urllib"
>
> We have work to do, guys.
>
>
> On Wed, Jul 13, 2016 at 11:26 AM, Slide <slide.o.mix at gmail.com
> <mailto:slide.o.mix at gmail.com>> wrote:
>
> FYI, the blog has been moved to ironpython.net
> <http://ironpython.net> from blogger. The link to the article in
> question is
> here: http://ironpython.net/blog/2014/12/07/pip-in-ironpython-275.html
>
> 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
> (https://github.com/IronLanguages/ironpython.net)
>
> Thanks,
>
> slide
>
> On Wed, Jul 13, 2016 at 10:00 AM Vernon D. Cole
> <vernondcole at gmail.com <mailto:vernondcole at gmail.com>> wrote:
>
> 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.barwick at bainbridgepartners.com
> <mailto:lawrence.barwick at 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, 5^th 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 at python.org
> <mailto:Ironpython-users at python.org>
> https://mail.python.org/mailman/listinfo/ironpython-users
>
> _______________________________________________
> Ironpython-users mailing list
> Ironpython-users at python.org <mailto:Ironpython-users at python.org>
> https://mail.python.org/mailman/listinfo/ironpython-users
>
>
>
>
> _______________________________________________
> Ironpython-users mailing list
> Ironpython-users at python.org
> https://mail.python.org/mailman/listinfo/ironpython-users
>
More information about the Ironpython-users
mailing list