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

PIP_EXISTS_ACTION environment variable causes error. #772

bear330 opened this Issue Jan 18, 2013 · 0 comments


None yet
1 participant

bear330 commented Jan 18, 2013


pip install requests

An error occured during configuration: option --exists-action: invalid choice: ['w'] (choose from 's', 'i', 'w', 'b')

The bug is on, ConfigOptionParser.update_defaults.

@sp4ke sp4ke referenced this issue Jan 27, 2013


Fixes #772 #781

qwcode added a commit to qwcode/pip that referenced this issue Sep 16, 2013

When action is 'append', let's check value by value.
Previously, we used `convert_value' in all cases, which seems
to try to detect lists based on the value of nargs, but that fails
with lists of one item. This "worked" for 'str' options, because
the values don't get checked, but was failing for choice types
(see Issue pypa#772), and would fail for other types like int.

@qwcode qwcode closed this in #1201 Sep 16, 2013

qwcode added a commit that referenced this issue Sep 16, 2013

Merge pull request #1201 from qwcode/issue_772
fix for #772 (bug when setting PIP_EXISTS_ACTION='s')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment