As shown in the picture below, when I import a class from the path mmui.wdaui, it reports an error: unable to import 'mmui.wdaui', but I can jump to the definition of mmui.wdaui by using ctrl + click. After I change the python language server to pylance, the error disappeared. May I ask why it happened?By the way, the mmui is located in the root directory of the project.
Desctiption
As shown in the picture below, when I import a class from the path
mmui.wdaui
, it reports an error: unable to import 'mmui.wdaui', but I can jump to the definition ofmmui.wdaui
by using ctrl + click. After I change the python language server topylance
, the error disappeared. May I ask why it happened?By the way, the mmui is located in the root directory of the project.picture
Environment
Editor: Vscode 1.53 OS: MacOs Monterey