python in cmd Ctrl+C problem
EECSGEEK opened this issue · 2 comments
EECSGEEK commented
python install from scoop (Ctrl+C)KeyboardInterrupt problem in cmd
process:
- open cmd.exe
- enter python in cmd
- in python REPL/shell 【press】【Ctrl+C】
- now enter a string, will eval by cmd
- loop with: cmd command -> python command -> cmd command
python install from python.org don't have (Ctrl+C)KeyboardInterrupt problem
OS: 10.0.17134 64bit
Python: 3.7
leonyu commented
This is most likely an issue with the shim, which Scoop creates to deal with common PowerShell/CMD/Windows incompatibilities. Of course the shims are not perfect.
Try invoke python.exe
in the directory of scoop prefix vim
directly,
rasa commented
This issue should be fixed in #3998, which was merged into master. To use, type:
scoop config shim kiennq
scoop reset *
or
scoop config shim 71
scoop reset *
Eventually, one of those shims (probably kiennq) will be made the default.
If this issue is still a problem after trying both solutions above, please reopen this issue. Thanks!