You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
satheeshkatipomu
changed the title
Pylance imports are not automatically resolved
Pylance does not resolve imports automatically after installation
Apr 16, 2021
BTW my imports are not local imports. These are packages from PyPI index. I did try explicitly mentioning site-packages path in extra paths, but no luck there. I am facing this issue in both my local and remove dev container environments.
Agh, I'm sorry; I was referring to @navneethc and missed your actual issue. Don't set that to fix your issue with installing packages. That's a known issue for interpreters that live outside the workspace, and I'll find the issue we have for that already.
The issue about needing a reload on package install is #923; I tried to fix it once but it caused some problems so was reverted. You can follow that issue instead.
Environment data
Expected behaviour
pylance
automatically resolves a package imports when it is installed.Actual behaviour
After installing a package,
pylance
is unable to resolve the import unless reopening the window. Instead it is returning an errorreportMissingImports
The text was updated successfully, but these errors were encountered: