I am new to VS Code and I installed e.g. PySide for my tutorial project written in Python. I try to:
from PySide.QtGui import QDialog, QApplication, QVBoxLayout, QLineEdit, QTextBrowser
from PySide.QtCore import *
Although the code runs perfectly well using the imported modules, VS Code complains with:
[pylint] E0401:Unable to import 'PySide.QtGui'
or
[pylint] E0401:Unable to import 'PySide.QtCore'
This is very irritating, since I am able to use the modules as expected. I would guess an configuration issue, but do not know how to fix this.
Thank you very much.
See also:
Visual representation of VS Code complaining
EDIT:
I use a precompiled version of PySide. Could this be the reason for this behaviour?