The Python virtual environment provides a command “deactivate” to go back to normal. Once the virtualenv is activated, you simply run the below command to deactivate the environment and get the original shell back.
deactivate
In the case of using “Anaconda” run the following command to deactivate the conda environment.
conda deactivate
Reference: https://docs.python.org/3/library/venv.html
Previous ArticleSetting Up the Environment Variables in MacOS
Related Posts
Setting Up the Environment Variables in MacOS
3 Mins Read
How to Generate Let’s Encrypt SSL using Certbot
Updated:September 18, 20224 Mins Read
Where is the Maven Local Repository?
Updated:September 17, 20222 Mins Read
How to View HTTP Headers in Google Chrome
1 Min Read
How to format source code in Visual Studio Code (VSCode)
Updated:September 9, 20222 Mins Read
Show Comments