It is a good approach to create virtual environment whenever you start a new project. So that no two libraries cause conflict with each other.
For example:
If one project uses Django==1.0.1 and other uses Django==3.0.0. so you have to create the virtual environment for both the project so that you can run them smoothly else one of them will cause problem
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Sahil, thanks for sharing!
Why is it necessary to create a virtual environment to run Flask?
It is a good approach to create virtual environment whenever you start a new project. So that no two libraries cause conflict with each other.
For example:
If one project uses Django==1.0.1 and other uses Django==3.0.0. so you have to create the virtual environment for both the project so that you can run them smoothly else one of them will cause problem