-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using pip fails with IndexError: index out of range: -1
#71
Comments
From @slozier on February 6, 2017 13:1 I haven't been able to reproduce this using the steps provided (install IronPython 2.7.7, run ensure pip and then "try to do anything with pip"). After hitting the same issue while investigating #1573 I did boil it down to a simple repro case which does not invlove pyparsing: IronLanguages/main#1573 (comment) |
Heads up, I get the same after upgrading pip to 9.0.1 and trying to install Tensorflow. |
Please don't upgrade pip, we test with a specific version of pip. |
@slide , pip <= 9.0 can't see Tensorflow. |
Pip > what we bundle isn't guaranteed to work. Even the one we bundle still causes issues for some people. |
@slide , it's OK. If that becomes critical, I can debug myself. |
Could you work with pip devs about getting pip tested on IronPython automatically? AFAIK they already test with PyPy, and adding IronPython (and Jython) into the mix shouldn't be overly complicated. |
The -1 issue is because pyparsing is using the traceback and f_back to determine function names and things like that. The f_back property is not getting filled in for some reason. This needs to be debugged. |
pip seems to work pretty fine with 2.7.8. Feel free to close this issue @slide. |
Well, the newer versions of pip don't work with IronPython 2.7.8, we should create a new issue to track that. |
From @pekkaklarck on January 30, 2017 11:57
After installing IronPython 2.7.7 and running
ipy -X:Frames -m ensurepip
, trying to install a package or just check the installed pip version fails like this:Same problem if I just try to check installed pip version with
--version
or run the installedpip.exe
directly.Copied from original issue: IronLanguages/main#1572
The text was updated successfully, but these errors were encountered: