pappasam / jedi-language-server

A Python language server exclusively for Jedi. If Jedi supports it well, this language server should too.
MIT License
572 stars 44 forks source link

jedi throw error: unable to import 'xxx' #226

Open QuXing9 opened 1 year ago

QuXing9 commented 1 year ago

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 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.

picture

image

Environment

Editor: Vscode 1.53 OS: MacOs Monterey

pappasam commented 1 year ago

I believe this is an issue with the vscode extension itself. jedi-language-server does not produce pylint diagnostics.