简体   繁体   中英

Visual studio code python extension fails when I run format

I keep getting this error when I try to format in vscode:

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

How do I solve it?

I solved this by downgrading the python extension in vscode to v2020.1.58038 . Check out this post to see how that can be done: vs code - rollback extension/install specific extension version

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM