All you need to know about python virtual environments

All you need to know about python virtual environments

5 years ago
Anonymous $Dftgs0JzgE

https://towardsdatascience.com/all-you-need-to-know-about-python-virtual-environments-9b4aae690f97

Photo by Pixabay on PexelsYour system dependencies based on python may be broken if you decide to play with python packages on your system. And nobody wants that.Almost every Data Scientist or Developer who has worked on any project, who has used python packages have had to deal with different versions of packages across different branches and projects. Virtual Environments make this process easier.

Well, you can, but you have to deal with it in the future. As more and more programs and projects today get written in python, you cannot expect all of them to use the same packages of same versions. Sometimes testing branch of your project may be using an updated version of the library while the production may use an old tested one. Your system dependencies based on python (certainly in case of Ubuntu ) could break if you decide to play with python packages on your system and nobody wants that. One way or the other it’s better to know virtual environments in detail.