joshcho / ChatGPT.el

ChatGPT in Emacs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Updated Mac OS and now EPC fails

localredhead opened this issue · comments

This worked until the latest Mac OS update I had, now I get this when I do chatgpt-init

epc:start-server: Server may raise an error. Use "M-x epc:pop-to-last-server-process-buffer RET" to see full traceback:
Traceback (most recent call last):
  File "/Users/levi/.emacs.d/.local/straight/repos/ChatGPT.el/chatgpt.py", line 3, in <module>
    from epc.server import EPCServer
ModuleNotFoundError: No module named 'epc'
  • I tried reinstalling EPC and sexpdata
  • I can log in but I am unable to initialize

Ok I realize after updating Mac OS and doing a brew upgrade that python was updated to 3.11 and that was my issue. Lots of confusion between what was on my path.

@localredhead I'm having the same problem. Any chance you can explain how you were able to fix? I'm not sure which version of python I should be using.

@localredhead I'm having the same problem. Any chance you can explain how you were able to fix? I'm not sure which version of python I should be using.

When you execute it via emacs you should be able to see which version of python it's trying to use.

M-x run-python will tell you what version emacs is using.

python3 -V in your shell will tell you what is on your path.

Make sure you install EPC, etc, under the version that emacs is using and it should work.