Skip to content


Jorgen Schaefer edited this page Aug 1, 2014 · 10 revisions
Clone this wiki locally


Emacs Side

Elpy requires Emacs 24.

The easiest way to get Elpy is to install it via package.el. Simply add the following to your .emacs file, or just evaluate it in your *scratch* buffer for one-time use:

(require 'package)
(add-to-list 'package-archives
             '("elpy" . ""))

Then run M-x package-refresh-contents to load the contents of the new repository. Once this is done, you should be able to run M-x package-install RET elpy RET.

To use elpy, just add the following to your .emacs:


If you want to use IPython (make sure it's installed), add:


If you find the (Python Elpy yas AC ElDoc Fill) mode line annoying, also add:


Python side

For syntax checking, you need the flake8 tool:

pip install flake8

Then you need to decide on whether you want to use rope or jedi, and install either one:

pip install rope
pip install jedi

If you are using Python 3 and want to use Rope, install the rope_py3k package, not rope.

Something went wrong with that request. Please try again.