Previously I have been experimenting with pyenv and a few hours ago i wanted to fully uninstall and remove it from my computer. After doing so everything in python stopped working. Including VScode. So I uninstalled everything and re-installed both python and VScode. That did fix most of the problem but, after trying to get back into a project that i was working on. I have discovered that import has stopped working. I can only import from the same directory of the running python file, and nothing else would work.
I am sure that i have successfully installed the modules using
pip install <package_name>
after doing do so the import still has yellow underlining and it says "Could not be resolved from source"
Screen shot of what it looks like
after checking the module is installed, i think it is installed under the path
c:\users\name\appdata\local\programs\python\python311\lib\site-packages
I'm not sure if this is the correct path or how to fix this. THis is my first time running into this issue, and I have been trying to fix this problem for the past 2-3 hours. In that time I have also tried multiple attempts of uninstalling and re-installing.
Nothing has worked so far. How would i fix this.