Sentry notes that this helps ensure the terminal automatically activates the virtual environment. Using extraPaths
Look for an interpreter that matches your project name and contains poetry in the path. pylance missing imports poetry link
The most elegant solution is to force Poetry to create its virtual environment . This makes the .venv folder visible to VS Code and Pylance automatically. Sentry notes that this helps ensure the terminal