1

I have an init.el file which only consists of a single line

(require 'package)

I am running emacs 23.1 on Red Hat Enterprise Linux Server Release 6.10 (Santiago)

Red Hat

Execution of emacs --debug-init returns the following screen:

Error

I have absolutely no clue as to what this means.

This was actually a very preliminary step to following the instructions on setting up elpy as IDE for python... After I had no success in using the standard mode with python3 instead of just python

Could it be that these machines cannot access the internet?

Drew
  • 29,895
  • 7
  • 74
  • 104
Michele Ancis
  • 1,265
  • 4
  • 16
  • 29
  • Please post your question about using elpy etc. separately. Only one question per post, please. – Drew Jul 08 '21 at 18:19
  • I believe that to achieve your end-goal you will need to update to a newer version of Emacs than 23.1. I suggest using the latest stable release, which is 27.2. – phils Jul 09 '21 at 04:14
  • Hey Drew, can you show me where I did ask anything about `elpy`?. Thanks. – Michele Ancis Jul 09 '21 at 22:08

1 Answers1

2

package.el is not part of Emacs 23. You can obtain it here, I believe. (That's https://github.com/technomancy/package.el.)

No idea whether that version of the library is compatible out of the box with Emacs 23.

But you get the idea - search for package.el online, download it, and put it in your load-path. Then your require should pick it up.

Drew
  • 29,895
  • 7
  • 74
  • 104
  • I *suspect* that a bigger problem will be that `elpy` (or its dependencies) will very likely not support Emacs 23, which is at this point very old. I'm not sure the regular package archives even work with versions of `package.el` pre-dating its inclusion in Emacs... I have a recollection that there was a separate archive for the older version, and I imagine it hasn't been touched in years. – phils Jul 09 '21 at 04:13
  • I'll go beyond etiquette here and just thank you, this is a machine I have zero control over, but it is good to know that these packages are probably not supported and the `emacs` version rather old. It gives me leverage to ask for an update. – Michele Ancis Jul 09 '21 at 22:10
  • While you are updating emacs, you might ask about an update to the OS as well: RHEL 6.10 will happily run recent emacs I think, but it *is* old and [no longer supported](https://access.redhat.com/discussions/4768501?tour=8). – NickD Jul 12 '21 at 19:49