I am getting the following error while trying to import newly installed packages from pip:
Import "<package>" could not be resolved
Pylance(reportMissingImports)
After I restart VS Code, Pylance seems to then be able to recognise the package.
Is there any fix to this as it is very annoying?