https://t.me/s/moreality🌐 一些本人的碎碎念,汇聚了几个主要的日常分享渠道📝 内容包括但不限于:🏃 日常生活,👨‍💻 工具分享,📖 书影音,体育赛事(⚽️曼城球迷)💡 所有内容均为在曾经某一时刻的观点。
#debug

vscode remote python extension 出现 command 'python.setInterpreter' not found 的解决方式 (可以类比到其他 vscode remote extension 出现问题的解决思路:

1. 卸载 Python 扩展(如果你安装了 Pylance,请先卸载它)。
2. 关闭所有 VS Code 实例。
3. 进入以下目录:

Windows: %USERPROFILE%/.vscode/extensions
Linux/Mac: ~/.vscode/extensions

1. 删除所有以 ms-python.python* 开头的文件夹。
2. 启动 VS Code,并重新安装 Python 扩展(如果在第 1 步卸载了 Pylance,也请重新安装)。

ref: https://github.com/microsoft/vscode-python/issues/14959

via Memos