In the article the author mention that VS Code doesn't support Poetry venv. This can be solve by configuring Poetry to create the virtualenvironment directly in the project folder (which in my opinion is neater).
Here is the config https://python-poetry.org/docs/configuration/#virtualenvsin-...