I am working on a Linux environment and have created my virtual environment using the pyenv
tool. I have set the local virtual environment in my working folder the the one I want with pyenv
from command line like this for example : pyenv local my_venv_name
which in my case my_venv_name=3.9.9
When I opened VSCode in that folder the integrated terminal is indeed opening that virtual environment BUT the code in the VSCode seems to not be able to find some installed dependencies that I can see that I have installed in that particular environment. I can do pip freeze
in the terminal and I see the packages but VSCode does not see them.
How can I set the correct virtual environment to the VSCode editor?