-
Notifications
You must be signed in to change notification settings - Fork 21
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
No such option: --disable-pip-version-check #35
Comments
That's strange - Could you run the following from the manually activated environment (must be activated) and paste output:
Thanks |
Regardless of your pip version, we really shouldn't error out like that if the pip version is too old to have that argument. I'll push a patch shortly. |
Here is the output:
option is of course there,
in terminal works fine, problem might be in arguments passing to subprocess. |
Could you show the output of Looks like it's getting pip from the system site-wide instead of the virtualenv, which may be causing an issue. |
Problem is that virtualenv is old, and pip inside virtualenv is very old as well v1.4.1. I think the only thing this project can improve is to show nicer error message in this case. It seems that even stderr of subprocess is hidden by default. |
That would be it - the I will push a fix shortly and you can try that if you'd like. |
One last thing, could you please try the following code in a Python shell and paste output:
Thanks |
Sure
|
Would you be able to try updating to commit e3c05af and seeing if that resolves the issue? This should do the trick:
If that works I'll release a new version on PyPi. Thanks |
Yes, it works fine now, thank you very much. |
2.1.16 has just been released on PyPi that includes this fix. Thanks! |
When I run:
The last command fails with an error:
subprocess.CalledProcessError: Command '<subprocess.Popen object at 0x7fb69ffbacd0>' returned non-zero exit status 2
error output: ('', '\nUsage: \n /tmp/venv/bin/python -m pip [options]\n\nno such option: --disable-pip-version-check\n') (it seems raw_pip argument of _execute_pip method is False)
Arguments of subprocess are: ARGS:['bin/python', '-m', 'pip', '--disable-pip-version-check', '-V']
pip version is 8.1.2
The text was updated successfully, but these errors were encountered: