Usually, a beginner programmer starts to install all the needed libraries in the main Python environment. As the number of projects grows, so do the installed libraries. And it may happen that, in different projects, libraries conflict.
For example, it may happen that two different projects require two different versions of the same library, so in a single Python environment, two versions of the same library cannot be installed.
How to solve this problem? Virtualenv may help.
A Python virtualenv is a standalone Python environment, where you can install only the packages that you need for your project.
#coding #python #virtualenv #data-science #programming