[Ironpython-users] Install numpy / VS 2010

Slide slide.o.mix at gmail.com
Wed Jul 13 14:43:03 EDT 2016


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> 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> wrote:
>
>> FYI, the blog has been moved to 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>
>> 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> 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 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
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20160713/75770be8/attachment.html>


More information about the Ironpython-users mailing list