lsp-pyright 窗口模式下启动失败

在终端 emacs -nw模式下启动正常

打开窗口的emacs:

GUI 没有继承命令行的路径,所以找不到 pyright

试试这个包,GitHub - purcell/exec-path-from-shell: Make Emacs use the $PATH set up by the user's shell

可以了, 感恩.

好的,可以了.