[Ironpython-users] IronPython 2.7.5 ensurepip error
Daniel Fernandez
fernandez_dan2 at hotmail.com
Tue Dec 23 16:45:26 CET 2014
Hi Jeff,
I figured out the issue. It was my bad. I had an old ipy.exe.config file
that had a redirect to older assembly.
Danny
From: Ironpython-users
[mailto:ironpython-users-bounces+fernandez_dan2=hotmail.com at python.org] On
Behalf Of Daniel Fernandez
Sent: Saturday, December 20, 2014 10:24 AM
To: Jeff Hardy
Cc: ironpython-users at python.org
Subject: Re: [Ironpython-users] IronPython 2.7.5 ensurepip error
Hi Jeff,
I have attached the output from the error with -X:ExceptionDetail
-X:ShowClrExceptions
Danny
> Date: Sat, 20 Dec 2014 08:48:41 +0000
> Subject: Re: [Ironpython-users] IronPython 2.7.5 ensurepip error
> From: jdhardy at gmail.com <mailto:jdhardy at gmail.com>
> To: fernandez_dan2 at hotmail.com <mailto:fernandez_dan2 at hotmail.com>
> CC: ironpython-users at python.org <mailto:ironpython-users at python.org>
>
> On Sat, Dec 20, 2014 at 2:31 AM, Daniel Fernandez
> <fernandez_dan2 at hotmail.com <mailto:fernandez_dan2 at hotmail.com> > wrote:
> > Hi All,
> >
> > I am getting an error calling ensurepip. I got it working on of my
systems
> > but I can getting the following error
> >
> >
> > c:\IronPython27>ipy.exe -X:Frames -m ensurepip
> > Unhandled exception:
> > Traceback (most recent call last):
> > File "c:\IronPython27\Lib\runpy.py", line 175, in run_module
> > File "c:\IronPython27\Lib\runpy.py", line 72, in _run_code
> > File
> >
"c:\users\sctltest\appdata\local\temp\tmpdxgoit\pip-1.5.6-py2.py3-none-any.w
hl\pip\_vendor\requests\packages\urllib3\connectionpool.py",
> > line 15, in <module>
> > File "c:\IronPython27\Lib\runpy.py", line 81, in _run_module_code
> > File "c:\IronPython27\Lib\ensurepip\__main__.py", line 4, in <module>
> > File "c:\IronPython27\Lib\ensurepip\__init__.py", line 220, in _main
> > File "c:\IronPython27\Lib\ensurepip\__init__.py", line 123, in bootstrap
> > File "c:\IronPython27\Lib\ensurepip\__init__.py", line 44, in _run_pip
> > File
> >
"c:\users\sctltest\appdata\local\temp\tmpdxgoit\pip-1.5.6-py2.py3-none-any.w
hl\pip\__init__.py",
> > line 11, in <module>
> > File
> >
"c:\users\sctltest\appdata\local\temp\tmpdxgoit\pip-1.5.6-py2.py3-none-any.w
hl\pip\vcs\mercurial.py",
> > line 9, in <module>
> > File
> >
"c:\users\sctltest\appdata\local\temp\tmpdxgoit\pip-1.5.6-py2.py3-none-any.w
hl\pip\download.py",
> > line 22, in <module>
> > File
> >
"c:\users\sctltest\appdata\local\temp\tmpdxgoit\pip-1.5.6-py2.py3-none-any.w
hl\pip\_vendor\requests\__init__.py",
> > line 53, in <module>
> > File
> >
"c:\users\sctltest\appdata\local\temp\tmpdxgoit\pip-1.5.6-py2.py3-none-any.w
hl\pip\_vendor\requests\packages\__init__.py",
> > line 3, in <module>
> > File
> >
"c:\users\sctltest\appdata\local\temp\tmpdxgoit\pip-1.5.6-py2.py3-none-any.w
hl\pip\_vendor\requests\packages\urllib3\__init__.py",
> > line 16, in <module>
> > SystemError: Language implemented by type
'IronPython.Runtime.PythonContext,
> > IronPython, Version=2.7.0.40, Culture=neutral,
> > PublicKeyToken=7f709c5b713576e1' has already been
> > loaded using name 'IronPython.Runtime.PythonContext, IronPython,
> > Version=2.7.5.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1'
> >
> >
> > I'm confused with the error referencing the 2.7.0.40 this is a clean
system.
> > I tried uninstalling and reinstalling but the same issue. Any ideas??
>
> There are no references to "2.7.0.40" in a standard install, so it
> must be sneaking in from somewhere else. I've never seen that error
> before either. It comes from
>
https://github.com/IronLanguages/main/blob/ipy-2.7-maint/Runtime/Microsoft.S
cripting/Runtime/DlrConfiguration.cs#L265,
> which is part of the bits that load languages from App.config files.
>
> Can you run with -X:ExceptionDetail -X:ShowClrExceptions and see if it
> gives any more info?
>
> - Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20141223/997f09e1/attachment.html>
More information about the Ironpython-users
mailing list