Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Python virtual environment interface for Emacs
Emacs Lisp Makefile
branch: master
Failed to load latest commit information.
test Set python-shell-virtualenv-root for virtualenvs.
.gitignore Added Makefile, Cask and .travis.yml
.travis.yml Add 24.5
Cask Bump to v1.1
Makefile Add 24.5 Add .travis.yml
pyvenv.el Bump version to 1.7

pyvenv.el, Python virtual environment support for Emacs

Travis-CI Build Status

This is a simple global minor mode which will replicate the changes done by virtualenv activation inside Emacs.

The main entry points are pyvenv-activate, which queries the user for a virtual environment directory to activate, and pyvenv-workon, which queries for a virtual environment in $WORKON_HOME (from

Similar Projects

virtualenv.el is the original virtualenv implementation for Emacs. I used it for a long time, but didn’t like some of the design decisions.

For example, it does not modify process-environment so does not set a virtual environment for M-x compile and other external processes. Also, M-x virtualenv-workon requires a prefix argument to actually change the current virtual environment. And it does not support virtualenvwrapper’s hooks, which I use to set up a working environment.

All in all, too much magic for too little gain. So I figured I’d write my own. Still, it’s an excellent package and I’m very grateful to have used it for a long time.

Something went wrong with that request. Please try again.