Skip to content
Emacs Python Development Environment
Branch: master
Clone or download
galaunay Merge pull request #1556 from galaunay/Update-python-package-requirem…

Update python package requirements
Latest commit a824fde Mar 19, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Nicer display of inputs and outputs echos Feb 20, 2019
elpy Fix support for black > 19 Mar 14, 2019
scripts Remove NEWS.rst Oct 5, 2018
snippets/python-mode Return correct form of "super" depending on Python version Jan 20, 2016
test Remove useless 'message' in tests Mar 14, 2019
.bumpversion.cfg Bump version: 1.27.0 → 1.28.0 Dec 28, 2018
CONTRIBUTING.rst Switch URLs to Apr 28, 2016
Cask Bump version: 1.27.0 → 1.28.0 Dec 28, 2018
RELEASE.txt Use ./scripts/release to release the project Mar 30, 2018
elpy-pkg.el Bump version: 1.27.0 → 1.28.0 Dec 28, 2018
elpy-shell.el Add warning when python binaries cannot be found Feb 27, 2019
elpy.el Merge pull request #1538 from gopar/fix-for-1530 Feb 21, 2019
requirements-dev.txt Update dependencies Sep 2, 2018
requirements.txt Update python package requirements Mar 15, 2019
requirements3.txt Update python package requirements Mar 15, 2019
setup.cfg Fix Sep 20, 2013 Add support for python3.7 Feb 19, 2019


Elpy, the Emacs Lisp Python Environment

Elpy is an Emacs package to bring powerful Python editing to Emacs. It combines and configures a number of other packages, both written in Emacs Lisp as well as Python.


Elpy is fully documented at

Quick Installation

First, install the required Python packages::

# Either of these
pip install rope
pip install jedi
# flake8 for code checks
pip install flake8
# and autopep8 for automatic PEP8 formatting
pip install autopep8
# and yapf for code formatting
pip install yapf

One-line install: pip install jedi flake8 autopep8

Evaluate this in your *scratch* buffer:

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

Then run M-x package-refresh-contents to load the contents of the new repository, and M-x package-install RET elpy RET to install elpy.

Users of Debian ≥10 or Ubuntu ≥18.10 can skip the instructions above this line and may simply install Elpy and all of its recommended dependencies with the following command::

sudo apt install elpa-elpy

Elpy can then be activated by running M-x elpy-enable

Finally, to make this automatic, add the following to your .emacs:

;; (package-initialize) should already exist at the top of the init
;; file on Debian-derived systems, thus (elpy-enable) should be all
;; that is required.



For questions regarding Elpy, do not hesitate to open an issue on github or visit us on IRC, channel #emacs-elpy on


This project is free software: You can redistribute it and/or modify it under the terms of the GNU General Public License, either version 3 of the License, or (at your option) any later version.

Thank You

If you would like to support this work, you can become a patreon:

Please note that this is completely voluntary, and does not make you more important than others when it comes to issues, feature requests or anything. I appreciate donations, but do not feel compelled to spend money, and do not feel bad if you don't.

You can’t perform that action at this time.