I need some advice on Poetry package manager.
I am working on a Django rest API. I use Poetry for the project. I ran into a situation that I do not understand.
First, I made a virtual environment with pyenv, then I ran poetry install to install required packages, such as Django restframework, psycopg2 and everything.
After that, in the VScode, it doesn’t seem these packages not working properly because when I import these packages, it shows yellow underline.
When I installed these packages globally with pip, then it all started working.
So, my question is that when I work with Poetry, should I install the all packages that I need in a project globally also? It seems a little bit messy.
Please give me an advice or any comment will be greatly appreciated.