-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
C: configurationConfiguration management and loadingConfiguration management and loadingOS: windowsWindows specificWindows specific
Description
Environment
- pip version: pip 19.0.3 from c:\python37\lib\site-packages\pip (python 3.7)
- Python version: 3.7.3
- OS: Windows 10 Professional
Description
run pip config --editor notepad.exe edit on windows
Notepad shows an alert: The system cannot find the path specified.
Expected behavior
PIP should create c:\users\user-id\AppData\Roaming\pip\pip.ini before launching notepad.
How to Reproduce
- On windows 10, install python afresh. The folder
c:\users\user-id\AppData\Roaming\pipshould not exist on the system - Then run
pip config --editor notepad.exe edit
3.Notepad shows an alert:The system cannot find the path specified.
However, when the same is tried using Visual studio code. It works fine.
This is a limitation with notepad.exe. I tried notepad a\b.txt and got the same error. This bug really belongs to notepad.
However, pip can handle the scenario by creating/touching the pip\pip.ini befpre launching the editor.
Metadata
Metadata
Assignees
Labels
C: configurationConfiguration management and loadingConfiguration management and loadingOS: windowsWindows specificWindows specific