2

I'd like to try to use Emacs as an LSP client for a Python project (pylsp server, here)

I'd like an example about how to configure emacs for such a thing

IN particular, I'm interested in how to let Emacs instruct pylsp about where some libraries are

user1632812
  • 431
  • 3
  • 16
  • 1
    pylsp generally need to be installed in the same environment as your project so that it can find the libraries for your project. Basically, you need to run pylsp with a Python that can import both pylsp and the project's dependencies from the same interpreter, and it'll handle the rest for you. – Lie Ryan Oct 14 '22 at 00:41

0 Answers0