VS Code will recognize available python packages and modules.
In this case, I started a VS Code session without a python package installed.

I then opened a terminal (in VS Code) and ran a pip install command to install the missing packages (the python interpreter for this project is set to a virtualenv that lives inside my project directory). However, VS Code still shows these packages as unresolved.
If I close and reopen VS Code, it picks up the new packages. Is there a better way of getting VS Code to automatically pick up these changes than restarting?
Probably similar to restarting but Ctrl+Shift+P > Reload Window should do it, without clearing your opened files
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With