jorgenschaefer / elpy

Emacs Python Development Environment
GNU General Public License v3.0
1.9k stars 262 forks source link

cannot run elpy-config on macos #2038

Open hajderr opened 11 months ago

hajderr commented 11 months ago

Summary

cannot run elpy-config on macos and probably other side effects too

My configuration

OS

macOS Ventura

Result of (elpy-config)

eldoc error: (error Cannot find executable ’python’, please set ’elpy-rpc-python-command’ to an existing executable.)

Elpy configuration in my init.el

(use-package elpy
  :ensure t
  :init
  (elpy-enable))
rpgoldman commented 7 months ago

Is the problem as simple as python not being in your PATH?

Or, if python is in your path, is there any chance that you aren't sharing your shell environment with emacs?