How to deactivate virtualenv

The virtualenv command deactivates a virtual environment. The virtual environment is deactivated by deleting the activated directory and removing all files in it, including the activation script. This means that when you activate a new virtual environment, it will create its own activation script and directory, which must be deleted before deactivating the previous one.

deactivate venv

By Nervous NightingaleNervous Nightingale on Jul 07, 2020
deactivate venv

Add Comment

2

how to deactivate virtualenv

By Random boiRandom boi on Aug 15, 2020
# This would only work when you have virtualenv activated.
# Kinda obvious, but I guess I'll point it out.

# Just type in this in your shell:
deactivate

Add Comment

3

exit venv python

By CerbrainCerbrain on Dec 08, 2020
$ deactivate

Source: stackoverflow.com

Add Comment

2

py how to deactivate venv

By Comfortable CorncrakeComfortable Corncrake on Jan 06, 2021
$ deactivate
or
$ conda deactivate

Add Comment

1

Virtualenv is great for testing but can also be used to create production-ready environments.
If you are creating an environment for your application, you should not use virtualenv for production deployment.

Python answers related to "how to deactivate virtualenv"

View All Python queries

Python queries related to "how to deactivate virtualenv"

Browse Other Code Languages

CodeProZone