As a beginner, it is usually tempting to use the base Python 2x or 3x program for running each and every Python code you have on your computer, but once your projects get more and more complex, versatile, or structured, Virtual Environments comes to rescue in neatly organizing the several codebases. It helps you to keep separate projects in isolated environments secluded from the other environments’ dependencies
You must run different projects on separate environments!
For more details please read Why you should use a virtual environment for EVERY python project!.
Accordingly, there can be a few scenarios in which…