elpy
elpy copied to clipboard
M-x elpy-config results in "Neither easy_install nor pip found" on Windows
I tried Emacs 27 on Windows 10.
Python 3.9.10 is installed.
Python3 is invoked via py -3 and pip via py -3 -m pip. But python and pip themselfs work fine on windows command prompt, too. I checked that here.
So why does M-x elpy-config gives me an Neither easy_install nor pip found.
Values of the Windows PATH:
echo %PATH%
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\user\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\user\AppData\Local\Programs\Python\Python39\;C:\Users\user\AppData\Local\Microsoft\WindowsApps;
Values of exec-path:
exec-path is a variable defined in C source code.
Value
("c:/Windows/system32" "C:/Windows" "C:/Windows/System32/Wbem" "C:/Windows/System32/WindowsPowerShell/v1.0/" "C:/Windows/System32/OpenSSH/" "C:/Users/user/AppData/Local/Programs/Python/Python39/Scripts/" "C:/Users/user/AppData/Local/Programs/Python/Python39/" "C:/Users/user/AppData/Local/Microsoft/WindowsApps" "." "c:/Program Files/Emacs/x86_64/libexec/emacs/27.2/x86_64-w64-mingw32")
Original Value
("c:/Windows/system32" "c:/Windows" "c:/Windows/System32/Wbem" "c:/Windows/System32/WindowsPowerShell/v1.0" "c:/Windows/System32/OpenSSH" "c:/Users/user/AppData/Local/Programs/Python/Python39/Scripts" "c:/Users/user/AppData/Local/Programs/Python/Python39" "c:/Users/user/AppData/Local/Microsoft/WindowsApps" "." "c:/Program Files/Emacs/x86_64/libexec/emacs/27.2/x86_64-w64-mingw32")