For my project I use poetry to install all python 3.10 dependencies. It works.
$ poetry env list
## .venv (Activated)
But in VS Code, Pylint do not recognise any installed library via poetry and the Select interpreter doesn't propose this .venv
environment.
How may I declare the right python environment .venv
such that pylint find the installed libraries?
I want to get rid of that:
from fastapi import FastAPI
## Unable to import 'fastapi' Pylint(E0401:import-error)