Vscode突然没法调试python2.7

Vscode突然没办法调试python2.7, 且报错...........import _thread as thread; verify_shadowed.check(thread, ['start_new_thread', 'start_new', 'allocate_lock']) ImportError: No module named _thread, 下面是解决方案

出现原因

Vscode最新版本的Python扩展插件只支持python>3.7的版本。

解决方案

将Vscode扩展插件Python回滚到2022年以前的版本即可。

Fiveplus wechat
扫一扫上方二维码,关注微信公众号:阿五编程
如果这篇文章对你有所帮助,请点击下方的打赏按钮。