joshcho / ChatGPT.el

ChatGPT in Emacs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EPC server error

philohistoria opened this issue · comments

Hello,
I was able to use chatgpt in command line (through chatgpt-server).

But when I try to use it in Emacs, the error shows:

Process epc:server:4 exited abnormally with code 127

does anyone know a possible fix or diagnosis? Thanks a lot!

figured out a solution myself. I am using pyenv and my emacs does not recognize python interpreter position. Has to set up pyenv location

(require 'epc)

(defvar my-epc (epc:start-epc "/Users/HOMEFOLDER/.pyenv/shims/python3" '("my-server.py")))