擅长:python、mysql、java
<p>@安德烈亚斯施瓦布,
您需要确保pylint安装在安装了PySide包的python环境中。
您还需要确保在python.pythonPath设置的settings.json中引用了相同的环境(python解释器)。</p>
<p>你可以在这里找到关于这两个的更多细节:</p>
<ul>
<li><a href="https://github.com/DonJayamanne/pythonVSCode/wiki/Python-Path-and-Version#selecting-an-interpreter" rel="nofollow">Selecting an interpreter</a></li>
<li><a href="https://github.com/DonJayamanne/pythonVSCode/wiki/Troubleshooting-Linting#1-unable-to-import--pylint" rel="nofollow">unable to import xxx</a></li>
</ul>