单击 Enter 后 Python3 不接受我的键盘输入 [英] Python3 not accepting my keyboard input after clicking enter

查看:27
本文介绍了单击 Enter 后 Python3 不接受我的键盘输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在此处输入图片说明

这是随机发生的,一旦我点击进入,我的键盘输入就不会被接受.从图片中你可以看到我一开始输入了 10,然后我点击了 Enter 并且 ntohing 发生在我可以继续输入的地方,所以我输入了 5.一旦我停止调试,我就会收到错误消息,显示没有任何输入被接受.我卸载了所有扩展程序甚至 vscode,但没有成功.

This randomly happened where my keyboard inputs are not being accpeted once i click enter. From the picture you can see i typed in 10 at first then i clicked enter and ntohing happened to where i can keep continuiosly typing so i typed a 5 after. Once i stop debugging i get the error showing none of the inputs were accepted. I uninstalled all my extensions and even vscode but no luck.

推荐答案

我找到了这个问题的解决方案,我在 github 上发布了 bug 问题,希望他们可以在下次更新时修复它.

I found the solution to this issue and i posted the bug issue on github so they can hopefully fix it on the next update.

问题出在最新版本的 python 解释器扩展 (2020.8.101144) 中,幸运的是将其降级到以下版本可以正常工作.

The issue was in the latest version of the python interpreter extension (2020.8.101144) and luckily downgrading it to the one below it works fine.

这篇关于单击 Enter 后 Python3 不接受我的键盘输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆