I'm using Emacs 24 and trying to use the elpy package, and getting the error:
"Symbol's function definition is void: elpy-enable"
(package-initialize)
(elpy-enable)
(elpy-use-ipython)
The mode I'm using (elpy) just said to add those lines to my .emacs file and it would all be fine (I've installed this mode on the python side).
Loading emacs with --debug-init provides the following
(elpy-enable)
eval-buffer(#<buffer *load*> nil "/home/tk12098/.emacs" nil t) ; Reading at buffer position 354
load-with-code-conversion("/home/tk12098/.emacs" "/home/tk12098/.emacs" t t)
load("~/.emacs" t t)
#[0 "\205\262
The line starting #[0 ".... seems to go on for a while.
How should I go about solving this?
I solved the issue by adding this to my ~/.emacs.d/init.el:
(require 'elpy)
(elpy-enable)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With