conda.el

M-x package-install conda

Installation of lsp-jedi on macOS

% pip install -U jedi-language-server

or

% conda install -c conda-forge jedi-language-server

In emacs, M-x package-install lsp-jedi.

Installation of lsp-pyright on macOS

Installation of npm

% brew install nodebrew
% nodebrew setup
% nodebrew install-binary stable
% nodebrew ls # check version
% nodebrew use v16.1.0

Set PATH to ~/.nodebrew/current/bin.

In emacs, M-x package-install lsp-pyright.

Installation of emacs.app on macOS

% brew install --cask emacs