This usually happens after a VS Code update if the Python interpreter or extensions get reset. Try re-selecting your Python interpreter (Ctrl+Shift+P
→ Python: Select Interpreter) and make sure the Python extension is up to date. A quick reinstall of the extension often fixes the import errors too.