Install the following packages
For LSP-pyright, node must be installed and available to python. If you use nvm, this may not be the case. You may have to either manually add ~/.nvm/versions/node/vX/bin to your path or add it to the path just for loading Sublime.