Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python in cmd Ctrl+C problem #2339

Closed
EECSGEEK opened this issue Jun 28, 2018 · 2 comments
Closed

python in cmd Ctrl+C problem #2339

EECSGEEK opened this issue Jun 28, 2018 · 2 comments

Comments

@EECSGEEK
Copy link

EECSGEEK commented Jun 28, 2018

python install from scoop (Ctrl+C)KeyboardInterrupt problem in cmd

py_err.png

process:

  1. open cmd.exe
  2. enter python in cmd
  3. in python REPL/shell 【press】【Ctrl+C】
  4. now enter a string, will eval by cmd
  5. loop with: cmd command -> python command -> cmd command

python install from python.org don't have (Ctrl+C)KeyboardInterrupt problem

py_org.png


OS: 10.0.17134 64bit
Python: 3.7

@leonyu
Copy link
Contributor

leonyu commented Sep 8, 2018

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
Copy link
Member

rasa commented Dec 23, 2020

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!

@rasa rasa closed this as completed Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants