You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Luke Plant edited this page Mar 31, 2014
·
2 revisions
The virtualenv.el extension is quite useful in the standard python development process.
It is implemented in a “natural” way, it emulates the `virtual/bin/activate` script setting up the environmental variables as the original virtualenv package does. In this way you can type shell commands with the modified paths of the virtual environments.
To activate a virtualenv just type the command:
M-x virtualenv-activate
And select the virtual environment directory, it will setup the necessary environment variables.
To deactivate the virtual environment (activating another virtualenv
deactivates the current automatically):
M-x virtualenv-deactivate
To barf which virtualenv is active at the moment:
M-x virtualenv-current
You can also use a virtualenvwrapper-like activator: