0

I checked the elpy site but came across an error where the package cannot be found? I am new to emacs and need a little help reading the error message.

The specific code in the init file I tried to verify using the C-x C-e command is (use-package elpy :ensure t :init (elpy-enable)) which is what the documentation recommends.

Computer set up- Arch Linux / GNU Emacs 29.2 / Linux LTS kernel

enter image description here

UPDATE I checked the elpy config and got this result enter image description here

Apparently ELPY is out of date or very old? If anyone has any other alternatives I would love to try them out. The main goal is to just get IDE functionality (syntax highlighting, auto complete, debugger ect...) that not only include Python but maybe other languages if possible? Any help would be awesome

3
  • 1
    Not sure what exactly causes this message, but maybe you can try installing elpy via M-x package-list-packages, while making sure that you install from the 'melpa-stable' archive. Commented Feb 28, 2024 at 14:37
  • Hey thanks for the comment, I installed elpy through that command and used the M-x command to run "elpy-enable" but when I then open up a python file I do not get any of the features still. Commented Feb 28, 2024 at 14:47
  • If you'd like to use a debugger, then probably LSP-mode will be easiest to use. Otherwise, indeed, as mentioned by @Ian, go with eglot. Personally, I think the best option for a starter is to use a starter kit like Spacemacs or Doom Emacs, they are great (and can be used with Emacs keybindings, although the experience is better when using vim/evil keybindings). Commented Mar 1, 2024 at 1:21

1 Answer 1

0

At this stage of your installation (according to your comment), all you need to do further is the command M-x elpy-config which will check your installation and will show you need to have some mandatory python packages to be installed.

However, since you already have Emacs 29.2, you can use the built-in package eglot, which is better and up to date (note elpy is already ten years old and unmaintained). On the provided link you will find out a link to eglot manual.

1
  • Right ok, I will give that a go. I thought elpy was the main option but I will check out other packages that provide Python IDE functionality. Commented Feb 29, 2024 at 16:47

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.