How to deactivate virtualenv

In this article let’s discuss about How to deactivate virtualenv. Let’s go through the following methods without any delay.

Method 1:

# 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

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar but have a try!

Method 2 :

$ deactivate
or
$ conda deactivate

Hope the above solution works.

Realted Posts : Grant linux sh script permissions