擅长:python、mysql、java
<p>听起来可能很简单,但是您是否为vscode安装了<code>Python</code>?东贾亚曼的那本很好。</p>
<p>如果是这样,请尝试将<a href="https://github.com/DonJayamanne/pythonVSCode/wiki/Python-Path-and-Version" rel="nofollow noreferrer">pythonPath</a>添加到vscode编辑器的<code>settings</code>中,至少它为我解决了问题。</p>
<p><code>pep8</code>路径应该是自动发现的,如果不是,您可能还需要添加<a href="https://github.com/DonJayamanne/pythonVSCode/wiki/Linting#pep8" rel="nofollow noreferrer">pep8Path</a>。</p>