Mac m1 python3 在 vscode 中出现问题

问题描述 投票:0回答:1

我重置了我的 mac 并从自制软件和 vscode 安装了 python3。 我在 vscode 中安装了扩展 python。 在那之后,这是一个问题。 在重置我的 mac 之前,vscode 提供了这样的变量、函数,具有良好的可读性 enter image description here 但是现在它不能像这样工作 enter image description here

我尝试将 vscode python3.11(自制软件安装)中的 python 解释器更改为 python3.9(最初安装),但我无法解决这个问题

我记得在重置我的 mac 之前只在 vscode 中安装扩展 python。 我该如何解决这个问题??

python macos visual-studio-code readability
1个回答
0
投票

我会建议,尝试安装,

Linter/Formatter
-

pip install pylint
pip install autopep8

也可以在vscode的

python.analysis
中搜索
settings
。 并尝试重新加载
vscode window
.

© www.soinside.com 2019 - 2024. All rights reserved.