-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exited abnormally with code 1 #2009
Comments
I had a similar problem but on a Debian machine. Maybe the following notes, can help you too. For my problem, the "peculiar error: "exited abnormally with code 1" problem came from an inconsistent "rpc-venv" installation. Hence I already had a perfectly running Elpy installation in my system, some time ago, and wanted to re-use Elpy after a longer time. Which lead to the same error that you're describing. After multiple unsuccessful complete reinstallations, I was able to understand the following:
Apparently, due to a change in my system's default Python environment (going from 3.10.xx to 3.11.xx) the installed for Hard fix that got me working again:
Just as general remark: Since, nowadays, we have a shitload of simultaneous alternatives to install packages into a system (via Pypy, apt, Emacs package manager and whatnot) that greatly overlap and create massive inconsistencies, we should start documenting more thoroughly when something may or may not get autopulled into the system. |
In my case |
elpy probably needs some code to detect when the venv is pointing to an uninstalled python version, and regenerate the venv for the new python |
I can confirm that this also worked for me. Deleted elpy, deleted the elpy directory then restarted emacs. After opening a Python file it asked if I wanted to install the rpc dependencies, I said yes and now the errors are gone. |
I am using |
Summary
Thank you for reporting to Elpy !
Here is a template to help you do it so your issue can be fixed as
soon as possible. Please replace this paragraph with a summary of
your issue and fill the next sections.
Steps to reproduce
error in process sentinel: elpy-rpc--default-error-callback: peculiar error: "exited abnormally with code 1"
error in process sentinel: peculiar error: "exited abnormally with code 1"
My configuration
OS
debian11
Result of
(elpy-config)
Elpy configuration in my init.el
The text was updated successfully, but these errors were encountered: