-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
C: configurationConfiguration management and loadingConfiguration management and loadingC: error messagesImproving error messagesImproving error messagesstate: awaiting PRFeature discussed, PR is neededFeature discussed, PR is neededtype: enhancementImprovements to functionalityImprovements to functionality
Description
Description
Run:
export PIP_CONFIG_FILE="/dev/null"
pip config set global.foo bar
Causes error:
ERROR: Fatal Internal error [id=2]. Please report as a bug.
Expected behavior
Should give a more meaningful error message such as "Cannot set configuration variables when PIP_CONFIG_FILE="/dev/null".
pip version
23.0.1
Python version
3.9.2
OS
MacOS
How to Reproduce
export PIP_CONFIG_FILE="/dev/null"
pip config set global.foo bar
Output
ERROR: Fatal Internal error [id=2]. Please report as a bug.
Code of Conduct
- I agree to follow the PSF Code of Conduct.
Metadata
Metadata
Assignees
Labels
C: configurationConfiguration management and loadingConfiguration management and loadingC: error messagesImproving error messagesImproving error messagesstate: awaiting PRFeature discussed, PR is neededFeature discussed, PR is neededtype: enhancementImprovements to functionalityImprovements to functionality