Does pyright need to be restarted to detect newly installed packages? #9731
Unanswered
KevinMusgrave
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I presume you're talking about the language server version of pyright (as opposed to the command-line version running with the You shouldn't need to restart pyright in this case, but you may need to if your language server client doesn't properly support file system watchers. Pyright relies on file system watchers to be notified of on-disk changes to your Python environment. This functionality is known to work with VS Code, but other clients may not implement the required support. In that case, you'd need to manually restart the language server to get it to pick up the changes. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I
pip install
a new package while pyright is running, do I need to restart pyright for it to know about that new package?Beta Was this translation helpful? Give feedback.
All reactions