Sentry notes that this helps ensure the terminal automatically activates the virtual environment. Using extraPaths
Type Python: Select Interpreter .
You have a Poetry-managed project. Your code runs perfectly with poetry run python script.py , but (VS Code’s Python language server) underlines imports in red, saying “import could not be resolved” . pylance missing imports poetry link