Virtual Environment

come code
2 min readAug 30, 2020

Virtual Environment:-

A virtual environment is a tool that helps to keep dependencies required by different project separated by creating isolated python virtual environments for them. This is one of the most important tools that most of the python developer use.

We can easily install virtual environment by typing

$ pip install virtualenv in command prompt.

I have also shown you by installing virtual environment using flask.

Some code that I have used are:-

$ pip install flask

$ pip install virtualenv

$ virtualenv flask

$ cd flaskenv

$ cd scripts

$ activate

virtual environment will be activated.

Again to deactivate Virtual environment we can just type

$ deactivate

Its image that I have done also shown below :-

I have also created you tube video on virtual environment which you can see below:-

https://youtu.be/D4YfyRD7drI

--

--

come code

I write blog on programming and computer science.