Create or modify .vscode/settings.json in your project root:
If you're still experiencing issues with missing imports, try the following: pylance missing imports poetry link
This guide explains why Pylance reports missing imports when you use Poetry and poetry link (or editable installs) and gives concrete fixes for VS Code + Pylance. Assumptions: you use Python, Poetry, and VS Code with the Pylance language server. If any environment detail differs, the steps still broadly apply. Create or modify