HH3ZYY 2022-04-08 22:57 采纳率: 100%
浏览 178
已结题

VScode的终端突然无法运行

VScode的终端突然无法运行

已使用的无效解决方案:
1.VScode清除配置卸载并重装
2.重装python

以下是控制台报错
PS C:\Users\HH3ZYY\Desktop\MWH_FFI> & 'C:\Python27\python.exe' 'c:\Users\HH3ZYY.vscode\extensions\ms-python.python-2022.4.1\pythonFiles\lib\python\debugpy\launcher' '51844' '--' 'c:\Users\HH3ZYY\Desktop\模型旋转.py'
Traceback (most recent call last):
File "C:\Python27\lib\runpy.py", line 174, in run_module_as_main
"main", fname, loader, pkg_name)
File "C:\Python27\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "c:\Users\HH3ZYY.vscode\extensions\ms-python.python-2022.4.1\pythonFiles\lib\python\debugpy_main
.py", line 43, in
from debugpy.server import cli
File "c:\Users\HH3ZYY.vscode\extensions\ms-python.python-2022.4.1\pythonFiles\lib\python\debugpy/../debugpy\server_init
.py", line 9, in
import debugpy._vendored.force_pydevd # noqa
File "c:\Users\HH3ZYY.vscode\extensions\ms-python.python-2022.4.1\pythonFiles\lib\python\debugpy/../debugpy_vendored\force_pydevd.py", line 37, in
pydevd_constants = import_module('pydevd_bundle.pydevd_constants')
File "C:\Python27\lib\importlib_init
.py", line 37, in import_module
import(name)
File "c:\Users\HH3ZYY.vscode\extensions\ms-python.python-2022.4.1\pythonFiles\lib\python\debugpy_vendored\pydevd_pydevd_bundle\pydevd_constants.py", line 362, in
from _pydev_bundle._pydev_saved_modules import thread, threading
File "c:\Users\HH3ZYY.vscode\extensions\ms-python.python-2022.4.1\pythonFiles\lib\python\debugpy_vendored\pydevd_pydev_bundle_pydev_saved_modules.py", line 94, in
import _thread as thread; verify_shadowed.check(thread, ['start_new_thread', 'start_new', 'allocate_lock'])
ImportError: No module named _thread

img

  • 写回答

2条回答

      报告相同问题?

      相关推荐 更多相似问题

      问题事件

      • 系统已结题 4月16日
      • 已采纳回答 4月8日
      • 修改了问题 4月8日
      • 修改了问题 4月8日
      • 展开全部

      悬赏问题

      • ¥30 关于#网络安全#的问题:非对称加密验证
      • ¥20 关于线性代数里施密特正交化和QR分解的疑问
      • ¥15 matlab超类包含解析错误
      • ¥15 python拖拽文件问题
      • ¥15 执行import paddle代码出现错误如何解决?
      • ¥15 hisat2align exited with value 137
      • ¥15 寻找大学生合作开发软件(Delphi)
      • ¥30 AndroidBench&eMMC内存测试速度&Android
      • ¥15 W10 文件共享失败 怎么解决
      • ¥20 b站私信完整导出的方法