Emacs: Managing Python virtual environments
elpy
is a great minor-mode for python-mode
(major-mode) in Emacs, but managing multiple venvs (virtual environments) has always been tricky as pyvenv
(that elpy
uses) doesn't have a way to have buffer-local venv (virtual environment) -- any venv activated using e.g. pyvenv-activate
/pyvenv-workon
is (process) global.