Install elpa-pyvenv by entering the following commands in the terminal:
sudo apt update sudo apt install elpa-pyvenv
Description:
Python virtual environment interface
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 virtualenvwrapper.sh).
Homepage: https://github.com/jorgenschaefer/pyvenv
Version: 1.12-1
Section: universe/lisp