【问题标题】:Visual studio code python extension fails when I run format当我运行格式时,Visual Studio 代码 python 扩展失败
【发布时间】:2021-03-01 22:13:40
【问题描述】:

当我尝试在 vscode 中格式化时,我不断收到此错误:

Traceback: ...
...pyvsc-run-isolated.py", line 30, in <module>

我该如何解决?

【问题讨论】:

    标签: python python-3.x visual-studio-code


    【解决方案1】:

    我通过将 vscode 中的 python 扩展降级为v2020.1.58038 解决了这个问题。 查看这篇文章,看看如何做到这一点: vs code - rollback extension/install specific extension version

    【讨论】:

      猜你喜欢
      • 2022-01-07
      • 1970-01-01
      • 2017-08-26
      • 1970-01-01
      • 2011-09-26
      • 2012-02-20
      • 2016-09-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多