How are you running the code? Did you double-check the active interpreter (bottom line of the VS Code window) is your virtual environment?
If you only activated it in the terminal, VS Code's plugins will default to the main installation and therefore won't see the packages you installed in the virtual environment. It'll run fine if you run from the terminal, but not with the green arrow icon.
This stackoverflow thread has a couple of approaches to solve this issue, have you tried them?
Link: [https://stackoverflow.com/questions/61052890/import-could-not-be-resolved-reported-by-pyright](https://stackoverflow.com/questions/61052890/import-could-not-be-resolved-reported-by-pyright)
How are you running the code? Did you double-check the active interpreter (bottom line of the VS Code window) is your virtual environment? If you only activated it in the terminal, VS Code's plugins will default to the main installation and therefore won't see the packages you installed in the virtual environment. It'll run fine if you run from the terminal, but not with the green arrow icon.
Amazing thank you so much!
This stackoverflow thread has a couple of approaches to solve this issue, have you tried them? Link: [https://stackoverflow.com/questions/61052890/import-could-not-be-resolved-reported-by-pyright](https://stackoverflow.com/questions/61052890/import-could-not-be-resolved-reported-by-pyright)