Aquamacs doesn't run python file on C-c C-c

143 Views Asked by At

When I run C-c C-c on a .py file, Aquamacs returns

Output file descriptor of python3 is closed

On the other hand, the Python shell works just fine.

How can I fix it such that I can run Python files?

1

There are 1 best solutions below

0
On

It seems Aquamacs' default Python interpreter is pyhton.el and not python-mode.el .

Installing python-mode.el from here will do the trick.