Virtual Environment or Virtualenv is a software which is used to install different versions of module, in which we can test our program.
Venv is the keywords which is used to create the virtualenv.
Installation and Usage
To create it, First change to the Virtual directory. Then type the following :-
$ cd virtual
$ python3 -m venv virtual1
To activate the created virtual1 environment type :-
$ source virtual1/bin/activate
Then the terminal will look like :-
(virtual1)[user@host]$
To deactivate this, simply type :-
(virtual1)$ deactivate
Pipenv
Pipenv tools are created by Kenneth Reitz in which these tools are used to manage the multiple virtual environments
To install this tool, type:-
$ python3 -m pip install –user pipenv
To exit from the Virtualenv simply type exit.
After using pipenv in your project, you can see that two files Pipfile and Pipfile.lock will have been created. You have to checkin so that other can create the same exact environment of yours.