I am new to python. I guess there are libraries called numpy, anaconda etc. What the best init.el setup for this. (I want to work on ML or Data Science)
I am new to python. I guess there are libraries called numpy, anaconda etc. What the best init.el setup for this. (I want to work on ML or Data Science)
I use Emacs 29.1 or Emacs 30, because:
Eglot.python-ts-modeAnd I use pyright as the LSP backend.
After install
pyright, just start Emacs, open python file andM-x eglotwill fire up the lsp support.For the python virtual environment, I use
envr(direnv)on macOS and Linux, usepyvenvon Windows platform.You can see my personal configuration here:
https://github.com/Eason0210/.emacs.d/blob/6428e1a3be904a97ee354c955c879baeed90c099/init.el#L873-L948