Open OrionRandD opened 1 year ago
similar to my answer in #2, you need to have chatgpt_wrapper
installed in the python environment that emacs is starting it's subprocesses in. Suggest the following steps:
~/.emacs.d/
, no idea if that's a good place for it. chatgpt_wrapper
is installed, as per my comment in #2 C-c q RET RET
for me, after that, ob-chatgpt "just worked".
Now I get it when executing the code-block:
SRC chatgpt "What is the capital of France?" SRC
executing Chatgpt code block... 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 "/home/me/.emacs.d/.local/straight/repos/ChatGPT.el/chatgpt.py", line 5, in
from chatgpt_wrapper import ChatGPT
ModuleNotFoundError: No module named 'chatgpt_wrapper'
:(