Here is a great explanation of why Python virtual environments are useful and important, and how to use them. The TLDR on why a virtual environment is useful is: it prevents one project’s installed packages from conflicting with another project’s installed packages.