I'm running python 3.12 at work on windows using emacs as IDE. At home I'm running linux where my setup works without any issue. However, at work with windows I struggle to get it properly run.
I have created I virtualenv and looking at the output of my elpy config everything seems fine:
Elpy Configuration Emacs.............: 29.1 Elpy..............: 1.35.0 Virtualenv........: srv_sys (c:/Users/ca/srv_sys/) Interactive Python: ipython . (c:/Users/ca/srv_sys/Scripts/ipython.exe) RPC virtualenv....: rpc-venv (c:/Users/ca/AppData/Roaming/.emacs.d/elpy/rpc-venv) Python...........: c:/WINDOWS/py.exe 3.12.4 (c:/WINDOWS/py.exe) Jedi.............: 0.19.2 Autopep8.........: 2.3.2 Yapf.............: 0.43.0 Black............: 25.1.0 Syntax checker....: flake8.exe (c:/Users/ca/srv_sys/Scripts/flake8.exe) Warnings Options `Raised' text indicates buttons; type RET or click mouse-1 on a button to invoke its action. Invoke [+] to expand a group, and [-] to collapse an expanded group. Invoke the [Group], [Face], and [Option] buttons below to edit that item in another window. [+]-- Group Elpy [+]-- Group Python [+]-- Group Virtual Environments (Pyvenv) [+]-- Group Completion (Company) [+]-- Group Call Signatures (ElDoc) [+]-- Group Inline Errors (Flymake) [+]-- Group Code folding (hideshow) [+]-- Group Snippets (YASnippet) [+]-- Group Directory Grep (rgrep) [+]-- Group Search as You Type (ido) [+]-- Group Django extension [+]-- Group Autodoc extension As soon as I want to run a code snippet or launch python via M-x run-phython I get the following error message:
start-process: Spawning child process: Exec format error
*Messages* say not much more and I'm a bit lost how to proceed from here? Does anyone know how to fix this?