Deactivate Python Virtual Environment
Once you are done with the work, you can deactivate the virtual environment by the following command:
(virtualenv_name)$ deactivate
Now you will be back to the system’s default Python installation.
We have covered virtual environment in Python, How to create virtual environment in Python?, how to activate and deactivate virtual environment? and now to install dependencies.
This covers all the basic concepts of Python virtual environment and you can use it on your personal PC.
Also Read:
Python Virtual Environment | Introduction
A Python Virtual Environment is an isolated space where you can work on your Python projects, separately from your system-installed Python.
You can set up your own libraries and dependencies without affecting the system Python.
We will use virtualenv to create a virtual environment in Python.