Kar*_*rim 4 python visual-studio-code pylance
编码/编程的初学者。
我正在赫尔辛基大学上 MOOC。使用 VS Code 和 TMC 插件是必须的,因为我通过它承认我的解决方案。
Pylance 服务器每隔几天就会崩溃。我找不到解决办法。有时它会在没有我任何干预的情况下恢复。但这几天以来它一直不起作用。
我将输出复制到谷歌文档中,因为它很长: 错误输出
你能帮我解决这个问题吗?我正在使用 M1 Macbook Air,以防有所作为。
谢谢
[警告 - 4:28:20 PM] (4592) stubPath /Users/karim/Library/Application Support/tmc/vscode/mooc-programming-22/part04-01_hello_visual_studio_code/typings 不是有效目录。
在 VS Code 中,转到File > Preferences > Settings
,搜索python.analysis.stubPath
并将其设置""
为而不是"typings"
。
归档时间: |
|
查看次数: |
10086 次 |
最近记录: |