Improve error message when pip config edit
is provided an editor that doesn't exist
#10812
Closed
1 task done
Labels
C: error messages
Improving error messages
good first issue
A good item for first time contributors to work on
type: enhancement
Improvements to functionality
Description
If you run
pip config --edit
with an editor that doesn't exist, pip presents a traceback.Expected behavior
pip
would present a clear error message, about which file could not be found.pip version
21.3.1
Python version
N/A
OS
Windows
How to Reproduce
Run
pip config edit --editor code
on a Windows machine without VSCode installed.Output
Code of Conduct
The text was updated successfully, but these errors were encountered: