gpt.el icon indicating copy to clipboard operation
gpt.el copied to clipboard

Python syntax error (OSX Ventura - M1 Mac)

Open rmulligan opened this issue 1 year ago • 1 comments

I'm receiving the following error when calling gpt-dwim:

File "/Users/ryanmulligan/Zettels/configuration/.emacs.d/.local/straight/build-28.2/gpt/gpt.py", line 27 def parse_args() -> argparse.Namespace: ^ SyntaxError: invalid syntax

Which version of python is required for this package? I am using 3.11.3.

rmulligan avatar May 12 '23 17:05 rmulligan

That should be fine. Is that the version you get when you run run-python in Emacs?

stuhlmueller avatar May 19 '23 22:05 stuhlmueller